Interface PooledSessionRefresher


public interface PooledSessionRefresher
PooledSessionRefresher This interface is responsible for refreshing the states of the pooled session. For example, if a pooled session refresher can simply invoke javax.jcr.Session#refresh();. Or, a custom implementation can do something in more optimized way in order to clean the virtual states only.
Version:
$Id$
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    refresh(PooledSession pooledSession, boolean keepChanges)
    Refreshes the pooled session.
  • Method Details

    • refresh

      void refresh(PooledSession pooledSession, boolean keepChanges) throws RepositoryException
      Refreshes the pooled session. This can make the pooled session refreshed or a custom implementation can do something in more optimized way in order to clean the virtual states only.
      Parameters:
      pooledSession - a pooled session
      keepChanges - a boolean
      Throws:
      RepositoryException - if an error occurs.