public class ReleaseFileAccessTask extends RemoteStateTask<Integer>
Release access to a file, and return the updated file open count.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming
Constructor and Description |
---|
ReleaseFileAccessTask()
Default constructor
|
ReleaseFileAccessTask(String mapName,
String key,
FileAccessToken token,
String clusterTopic,
boolean debug,
boolean timingDebug)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
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 ReleaseFileAccessTask()
public ReleaseFileAccessTask(String mapName, String key, FileAccessToken token, String clusterTopic, boolean debug, boolean timingDebug)
mapName
- Stringkey
- Stringtoken
- FileAccessTokenclusterTopic
- Stringdebug
- booleantimingDebug
- booleanprotected Integer runRemoteTaskAgainstState(com.hazelcast.core.IMap<String,ClusterFileState> stateCache, ClusterFileState fState) throws Exception
runRemoteTaskAgainstState
in class RemoteStateTask<Integer>
stateCache
- IMapfState
- ClusterFileStateException
Copyright © 2005–2017 Alfresco Software. All rights reserved.