public interface PooledSessionRefresher
javax.jcr.Session#refresh();
.
Or, a custom implementation can do something in more optimized way in order to
clean the virtual states only.Modifier and Type | Method and Description |
---|---|
void |
refresh(PooledSession pooledSession,
boolean keepChanges)
Refreshes the pooled session.
|
void refresh(PooledSession pooledSession, boolean keepChanges) throws javax.jcr.RepositoryException
pooledSession
- a pooled sessionkeepChanges
- a booleanjavax.jcr.RepositoryException
- if an error occurs.Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.