|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.version.InternalVersionManagerImpl.DynamicESCFactory
public static final class InternalVersionManagerImpl.DynamicESCFactory
Constructor Summary | |
---|---|
InternalVersionManagerImpl.DynamicESCFactory(DelegatingObservationDispatcher obsMgr)
Creates a new event state collection factory |
Method Summary | |
---|---|
EventStateCollection |
createEventStateCollection()
Creates an EventStateCollection . |
EventStateCollection |
createEventStateCollection(SessionImpl source)
This object uses one instance of a LocalItemStateManager
to update data on behalf of many sessions. |
Object |
doSourced(SessionImpl eventSource,
org.apache.jackrabbit.core.version.InternalVersionManagerImpl.SourcedTarget runnable)
Executes the given runnable using the given event source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalVersionManagerImpl.DynamicESCFactory(DelegatingObservationDispatcher obsMgr)
obsMgr
- dispatcherMethod Detail |
---|
public EventStateCollection createEventStateCollection() throws RepositoryException
EventStateCollection
.
This object uses one instance of a LocalItemStateManager
to update data on behalf of many sessions. In order to maintain the
association between update operation and session who actually invoked
the update, an internal event source is used.
createEventStateCollection
in interface EventStateCollectionFactory
EventStateCollection
RepositoryException
- if creation fails for some reasonpublic EventStateCollection createEventStateCollection(SessionImpl source)
LocalItemStateManager
to update data on behalf of many sessions. In order to maintain the
association between update operation and session who actually invoked
the update, an internal event source is used.
public Object doSourced(SessionImpl eventSource, org.apache.jackrabbit.core.version.InternalVersionManagerImpl.SourcedTarget runnable) throws RepositoryException
eventSource
- event sourcerunnable
- the runnable to execute
RepositoryException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |