public class FileDataUpdateTask extends RemoteStateTask<Boolean>
Used to synchronize setting/clearing the file data update in progress details on a file state by executing on the remote node that owns the file state/key.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming
Constructor and Description |
---|
FileDataUpdateTask()
Default constructor
|
FileDataUpdateTask(String mapName,
String key,
ClusterNode node,
boolean startUpdate,
boolean debug,
boolean timingDebug)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
protected Boolean |
runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
call, getHazelcastInstance, getKey, getMapName, getTaskName, hasDebug, hasOption, hasTimingDebug, setHazelcastInstance
public FileDataUpdateTask()
public FileDataUpdateTask(String mapName, String key, ClusterNode node, boolean startUpdate, boolean debug, boolean timingDebug)
mapName
- Stringkey
- Stringnode
- ClusterNodestartUpdate
- booleandebug
- booleantimingDebug
- booleanprotected Boolean runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache, ClusterFileState fState) throws Exception
runRemoteTaskAgainstState
in class RemoteStateTask<Boolean>
stateCache
- IMapfState
- ClusterFileStateException
Copyright © 2005–2017 Alfresco Software. All rights reserved.