|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.agent.server.AgentDListProvider
public class AgentDListProvider
Constructor Summary | |
---|---|
AgentDListProvider()
|
Method Summary | |
---|---|
void |
addOverloadedInfo(java.lang.String listName,
java.lang.String info)
|
void |
addToList(java.lang.String listName,
java.lang.String value)
LIST FUNCTIONALITY |
void |
createList(java.lang.String name,
int recSize)
Create a list of non-standard record size. |
void |
deleteList(java.lang.String listName)
Delete an entire list from storage. |
void |
dispose()
Perform any cleanup that the storage provider requires. |
void |
flush()
Flush values to permanent storage. |
java.lang.String |
getDescription()
Get a description of this storage provider. |
java.util.Set |
getKeys()
|
java.util.Iterator |
getListIterator(java.lang.String listName)
Get an iterator for a named list. |
java.lang.String |
getValue(java.lang.String key)
Gets a value from the storage object. |
void |
init(java.lang.String info)
DList info string is a series of properties seperated by '|' Three properties are expected. |
void |
setValue(java.lang.String key,
java.lang.String value)
Sets a value within the storage object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentDListProvider()
Method Detail |
---|
public java.lang.String getDescription()
getDescription
in interface AgentStorageProvider
public void createList(java.lang.String name, int recSize) throws AgentStorageException
createList
in interface AgentStorageProvider
AgentStorageException
public void addOverloadedInfo(java.lang.String listName, java.lang.String info)
addOverloadedInfo
in interface AgentStorageProvider
public void setValue(java.lang.String key, java.lang.String value)
setValue
in interface AgentStorageProvider
setValue
in interface GenericValueMap
key
- Key of the value to set.value
- Value to set for 'key'.public java.lang.String getValue(java.lang.String key)
getValue
in interface AgentStorageProvider
getValue
in interface GenericValueMap
key
- Key of the value to get.
public java.util.Set getKeys()
getKeys
in interface AgentStorageProvider
getKeys
in interface GenericValueMap
public void flush() throws AgentStorageException
AgentStorageProvider
flush
in interface AgentStorageProvider
AgentStorageException
public void init(java.lang.String info) throws AgentStorageException
init
in interface AgentStorageProvider
info
- parameters for the StorageProvider to store data and index files
AgentStorageException
public void dispose()
AgentStorageProvider
dispose
in interface AgentStorageProvider
public void addToList(java.lang.String listName, java.lang.String value) throws AgentStorageException
addToList
in interface AgentStorageProvider
listName
- Name of the column to add tovalue
- Value to add to the column
AgentStorageException
public void deleteList(java.lang.String listName)
AgentStorageProvider
deleteList
in interface AgentStorageProvider
public java.util.Iterator getListIterator(java.lang.String listName)
AgentStorageProvider
getListIterator
in interface AgentStorageProvider
listName
- name of the list to get an iterator for.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |