public class StateUpdatePostProcessor extends FileStatePostProcessor
Low priority file state updates are sent out at the end of request processing.
Constructor and Description |
---|
StateUpdatePostProcessor(ClusterFileStateCache stateCache,
HazelCastClusterFileState state,
int updateMask)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addToUpdateMask(int updateMask)
Add another state update to the existing update mask
|
int |
getUpdateMask()
Return the update mask
|
void |
removeFromUpdateMask(int updateMask)
Remove updates from the mask
|
void |
runProcessor()
Run the post processor
|
getState, getStateCache, hasDebug, setDebug
dequeuePostProcessor, findPostProcessor, hasPostProcessor, queuePostProcessor, removePostProcessorFromQueue
public StateUpdatePostProcessor(ClusterFileStateCache stateCache, HazelCastClusterFileState state, int updateMask)
stateCache
- HazelCastClusterFileStateCachestate
- HazelCastClusterFileStateupdateMask
- intpublic final int getUpdateMask()
public final void addToUpdateMask(int updateMask)
updateMask
- intpublic final void removeFromUpdateMask(int updateMask)
updateMask
- intpublic void runProcessor()
runProcessor
in class RequestPostProcessor
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.