|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.bindings.impl.SessionImpl
public class SessionImpl
CMIS binding session implementation.
Constructor Summary | |
---|---|
SessionImpl()
Constructor. |
Method Summary | |
---|---|
Object |
get(String key)
Gets a session value. |
int |
get(String key,
int defValue)
Returns a session value or the default value if the key doesn't exist. |
Object |
get(String key,
Object defValue)
Returns a session value or the default value if the key doesn't exist. |
Collection<String> |
getKeys()
Returns all keys. |
void |
put(String key,
Object obj,
boolean isTransient)
Adds a session value. |
void |
put(String key,
Serializable obj)
Adds a non-transient session value. |
void |
readLock()
Acquires a read lock. |
void |
readUnlock()
Releases a read lock. |
void |
remove(String key)
Removes a session value. |
String |
toString()
|
void |
writeLock()
Acquires a write lock. |
void |
writeUnlock()
Releases a write lock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SessionImpl()
Method Detail |
---|
public Collection<String> getKeys()
BindingSession
getKeys
in interface BindingSession
public Object get(String key)
BindingSession
get
in interface BindingSession
public Object get(String key, Object defValue)
BindingSession
get
in interface BindingSession
public int get(String key, int defValue)
BindingSession
get
in interface BindingSession
public void put(String key, Serializable obj)
BindingSession
put
in interface BindingSession
public void put(String key, Object obj, boolean isTransient)
BindingSession
put
in interface BindingSession
public void remove(String key)
BindingSession
remove
in interface BindingSession
public void readLock()
BindingSession
readLock
in interface BindingSession
public void readUnlock()
BindingSession
readUnlock
in interface BindingSession
public void writeLock()
BindingSession
writeLock
in interface BindingSession
public void writeUnlock()
BindingSession
writeUnlock
in interface BindingSession
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |