Groovy Documentation

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

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

class RAMStorage

Simply store everything in memory.

Authors:
ypujante@linkedin.com


Constructor Summary
RAMStorage()

RAMStorage(java.util.Map storage, AgentProperties agentProperties)

 
Method Summary
void clearAllStates()

void clearState(MountPoint mountPoint)

java.lang.Object getMountPoints()

java.util.Map getStorage()

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()
 

Constructor Detail

RAMStorage

RAMStorage()


RAMStorage

RAMStorage(java.util.Map storage, AgentProperties agentProperties)


 
Method Detail

clearAllStates

void clearAllStates()


clearState

void clearState(MountPoint mountPoint)


getMountPoints

java.lang.Object getMountPoints()


getStorage

java.util.Map getStorage()


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