public class ReleaseFileAccessTask extends RemoteStateTask
Release access to a file, and return the updated file open count.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming
Constructor and Description |
---|
ReleaseFileAccessTask()
Default constructor
|
ReleaseFileAccessTask(java.lang.String mapName,
java.lang.String key,
FileAccessToken token,
java.lang.String clusterTopic,
boolean debug,
boolean timingDebug)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
runRemoteTaskAgainstState(com.hazelcast.core.IMap stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
call, getHazelcastInstance, getKey, getMapName, getTaskName, hasDebug, hasOption, hasTimingDebug, setHazelcastInstance
public ReleaseFileAccessTask()
public ReleaseFileAccessTask(java.lang.String mapName, java.lang.String key, FileAccessToken token, java.lang.String clusterTopic, boolean debug, boolean timingDebug)
mapName
- Stringkey
- Stringtoken
- FileAccessTokenclusterTopic
- Stringdebug
- booleantimingDebug
- booleanprotected java.lang.Integer runRemoteTaskAgainstState(com.hazelcast.core.IMap stateCache, ClusterFileState fState) throws java.lang.Exception
runRemoteTaskAgainstState
in class RemoteStateTask
stateCache
- IMapfState
- ClusterFileStatejava.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.