@Service public interface Storage
Modifier and Type | Method and Description |
---|---|
Add |
createAdd(Category<?> category) |
<T extends Pojo> |
createQuery(Category<T> category) |
Remove |
createRemove() |
Replace |
createReplace(Category<?> category) |
Update |
createUpdate(Category<?> category) |
String |
getAgentId() |
Connection |
getConnection()
Returns the Connection object that may be used to manage connections
to this Storage.
|
long |
getCount(Category<?> category) |
InputStream |
loadFile(String filename) |
void |
purge(String agentId)
Drop all data related to the currently running agent.
|
void |
registerCategory(Category<?> category) |
void |
removePojo(Remove remove) |
void |
saveFile(String filename,
InputStream data) |
void |
setAgentId(UUID id) |
void |
shutdown() |
void setAgentId(UUID id)
String getAgentId()
void registerCategory(Category<?> category)
Connection getConnection()
void removePojo(Remove remove)
void purge(String agentId)
long getCount(Category<?> category)
void saveFile(String filename, InputStream data)
InputStream loadFile(String filename)
Remove createRemove()
void shutdown()
Copyright © 2013. All Rights Reserved.