Groovy Documentation

org.linkedin.glu.agent.impl.storage
[Groovy] Class FileSystemStorage

java.lang.Object
  org.linkedin.glu.agent.impl.storage.FileSystemStorage

class FileSystemStorage

Store in the filesystem

Authors:
ypujante@linkedin.com


Field Summary
static java.lang.String MODULE

static Logger log

 
Constructor Summary
FileSystemStorage(java.io.FileSystem fileSystem, AgentProperties agentProperties, java.io.File agentPropertiesFile)

 
Method Summary
void clearAllStates()

void clearState(MountPoint mountPoint)

java.util.Collection deleteInvalidStates()

java.io.FileSystem getFileSystem()

java.lang.Object getMountPoints()

AgentProperties loadAgentProperties()

java.lang.Object loadState(MountPoint mountPoint)

AgentProperties saveAgentProperties(AgentProperties agentProperties)

void storeState(MountPoint mountPoint, java.lang.Object state)

AgentProperties updateAgentProperty(java.lang.String name, java.lang.String value)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Constructor Detail

FileSystemStorage

FileSystemStorage(java.io.FileSystem fileSystem, AgentProperties agentProperties, java.io.File agentPropertiesFile)


 
Method Detail

clearAllStates

void clearAllStates()


clearState

void clearState(MountPoint mountPoint)


deleteInvalidStates

java.util.Collection deleteInvalidStates()


getFileSystem

java.io.FileSystem getFileSystem()


getMountPoints

java.lang.Object getMountPoints()


loadAgentProperties

@Override
AgentProperties loadAgentProperties()


loadState

java.lang.Object loadState(MountPoint mountPoint)


saveAgentProperties

@Override
AgentProperties saveAgentProperties(AgentProperties agentProperties)


storeState

void storeState(MountPoint mountPoint, java.lang.Object state)


updateAgentProperty

@Override
AgentProperties updateAgentProperty(java.lang.String name, java.lang.String value)


 

Groovy Documentation