com.almende.eve.state
Class FileState
java.lang.Object
com.almende.eve.state.AbstractState
com.almende.eve.state.FileState
- All Implemented Interfaces:
- State, Map<String,Object>
- Direct Known Subclasses:
- ConcurrentFileState, OriginalFileState
public abstract class FileState
- extends AbstractState
- Author:
- jos
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileState
protected FileState()
FileState
public FileState(String agentId)
init
public abstract void init()
- init is executed once before the agent method is invoked
- Specified by:
init
in interface State
- Specified by:
init
in class AbstractState
destroy
public abstract void destroy()
- destroy is executed once after the agent method is invoked
if the properties are changed, they will be saved
- Specified by:
destroy
in interface State
- Specified by:
destroy
in class AbstractState
clear
public abstract void clear()
keySet
public abstract Set<String> keySet()
containsKey
public abstract boolean containsKey(Object key)
containsValue
public abstract boolean containsValue(Object value)
entrySet
public abstract Set<Map.Entry<String,Object>> entrySet()
get
public abstract Object get(Object key)
isEmpty
public abstract boolean isEmpty()
put
public abstract Object put(String key,
Object value)
putAll
public abstract void putAll(Map<? extends String,? extends Object> map)
remove
public abstract Object remove(Object key)
size
public abstract int size()
values
public abstract Collection<Object> values()
Copyright © 2013 Almende BV. All Rights Reserved.