public class HazelCastFileStateProxy extends java.lang.Object implements FileStateProxy
Store the key path and state cache details so the file state can be retrieved on demand, to avoid saving a reference to a copy of the file state that will not be updated.
Constructor and Description |
---|
HazelCastFileStateProxy(java.lang.String keyPath,
HazelCastClusterFileStateCache stateCache)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
FileState |
getFileState()
Return the file state
|
public HazelCastFileStateProxy(java.lang.String keyPath, HazelCastClusterFileStateCache stateCache)
keyPath
- StringstateCache
- HazelCastClusterFileStateCachepublic FileState getFileState()
getFileState
in interface FileStateProxy
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.