public abstract class Storage extends Object
Constructor and Description |
---|
Storage() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addAgentInformation(AgentInformation agentInfo) |
abstract ConnectionKey |
createConnectionKey(Category category) |
abstract Chunk |
find(Chunk query) |
abstract Cursor |
findAll(Chunk query) |
abstract Cursor |
findAllFromCategory(Category category) |
abstract String |
getBackendConfig(String backendName,
String configurationKey) |
abstract Connection |
getConnection() |
abstract long |
getCount(Category category) |
abstract void |
purge()
Drop all data related to the currently running agent.
|
abstract void |
putChunk(Chunk chunk) |
void |
registerCategory(Category category) |
abstract void |
removeAgentInformation() |
abstract void |
setAgentId(UUID id) |
abstract void |
updateAgentInformation(AgentInformation agentInfo) |
abstract void |
updateChunk(Chunk chunk) |
public abstract void setAgentId(UUID id)
public final void registerCategory(Category category)
public abstract Connection getConnection()
public abstract ConnectionKey createConnectionKey(Category category)
public abstract void putChunk(Chunk chunk)
public abstract void updateChunk(Chunk chunk)
public abstract void purge()
public abstract long getCount(Category category)
public abstract void addAgentInformation(AgentInformation agentInfo)
public abstract void removeAgentInformation()
public abstract void updateAgentInformation(AgentInformation agentInfo)
Copyright © 2012. All Rights Reserved.