net.spy.db
Class SaveContext
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<String,Object>
net.spy.db.SaveContext
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>
public class SaveContext
- extends Hashtable<String,Object>
Context shared by all Savables inside a Saver. This lets the Savables
keep track of whatever state they may need in order to maintain key
integrity or whatever.
- See Also:
- Serialized Form
|
Constructor Summary |
SaveContext()
Get an instance of SaveContext. |
|
Method Summary |
int |
getId()
Get the session ID for this context. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
SaveContext
public SaveContext()
- Get an instance of SaveContext.
getId
public int getId()
- Get the session ID for this context. The session ID is not guaranteed
to be globally unique, just unique enough for local correlation in logs.
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.