public class GrantFileAccessTask extends RemoteStateTask
Check if the specified file can be accessed using the requested sharing mode, access mode. Return a file sharing exception if the access cannot be granted.
TaskDebug, TaskLockState, TaskNoUpdate, TaskTiming| Constructor and Description |
|---|
GrantFileAccessTask()
Default constructor
|
GrantFileAccessTask(java.lang.String mapName,
java.lang.String key,
GrantAccessParams params,
boolean debug,
boolean timingDebug)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected FileAccessToken |
runRemoteTaskAgainstState(com.hazelcast.core.IMap stateCache,
ClusterFileState fState)
Run a remote task against a file state
|
call, getHazelcastInstance, getKey, getMapName, getTaskName, hasDebug, hasOption, hasTimingDebug, setHazelcastInstancepublic GrantFileAccessTask()
public GrantFileAccessTask(java.lang.String mapName,
java.lang.String key,
GrantAccessParams params,
boolean debug,
boolean timingDebug)
mapName - Stringkey - StringopenParams - GrantAccessParamsdebug - booleantimingDebug - booleanprotected FileAccessToken runRemoteTaskAgainstState(com.hazelcast.core.IMap stateCache, ClusterFileState fState) throws java.lang.Exception
runRemoteTaskAgainstState in class RemoteStateTaskstateCache - IMapfState - HazelCastFileStatejava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.