|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistributedCacheConvergedSipManager<T extends org.jboss.web.tomcat.service.session.distributedcache.spi.OutgoingDistributableSessionData>
| Method Summary | |
|---|---|
void |
evictSipApplicationSession(java.lang.String key)
Evict a sip application session from the in-memory portion of the distributed cache, on this node only. |
void |
evictSipApplicationSession(java.lang.String key,
java.lang.String dataOwner)
Evict a non-locally-active sip application session from the in-memory portion of the distributed cache, on this node only. |
void |
evictSipSession(java.lang.String sipAppSessionKey,
java.lang.String key)
Evict a sip session from the in-memory portion of the distributed cache, on this node only. |
void |
evictSipSession(java.lang.String sipAppSessionKey,
java.lang.String key,
java.lang.String dataOwner)
Evict a non-locally-active sip session from the in-memory portion of the distributed cache, on this node only. |
java.util.Map<java.lang.String,java.lang.Object> |
getConvergedSessionAttributes(java.lang.String realId,
java.util.Map<java.lang.Object,java.lang.Object> distributedCacheData)
|
org.jboss.cache.Cache |
getJBossCache()
|
java.lang.Object |
getSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String key)
Get the value of the attribute with the given key from the given session. |
java.util.Set<java.lang.String> |
getSipApplicationSessionAttributeKeys(java.lang.String sipApplicationSessionKey)
Obtain the attribute keys associated with this session. |
java.util.Map<java.lang.String,java.lang.Object> |
getSipApplicationSessionAttributes(java.lang.String sipApplicationSessionKey)
Return all attributes associated with this session id. |
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData |
getSipApplicationSessionData(java.lang.String key,
boolean initialLoad)
Get the IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip application session. |
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData |
getSipApplicationSessionData(java.lang.String key,
java.lang.String dataOwner,
boolean includeAttributes)
Get the IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip application session. |
java.util.Map<java.lang.String,java.lang.String> |
getSipApplicationSessionKeys()
Gets the ids of all sip application sessions in the underlying cache. |
java.lang.Object |
getSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key)
Get the value of the attribute with the given key from the given session. |
java.util.Set<java.lang.String> |
getSipSessionAttributeKeys(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
Obtain the attribute keys associated with this session. |
java.util.Map<java.lang.String,java.lang.Object> |
getSipSessionAttributes(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
Return all attributes associated with this session id. |
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData |
getSipSessionData(java.lang.String sipAppSessionKey,
java.lang.String key,
boolean initialLoad)
Get the IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip session. |
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData |
getSipSessionData(java.lang.String sipAppSessionKey,
java.lang.String key,
java.lang.String dataOwner,
boolean includeAttributes)
Get the IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip session. |
java.util.Map<java.lang.String,java.lang.String> |
getSipSessionKeys()
Gets the ids of all sip sessions in the underlying cache. |
void |
putSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.util.Map<java.lang.String,java.lang.Object> map)
Stores the given map of attribute key/value pairs in the given session. |
void |
putSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String key,
java.lang.Object value)
Stores the given value under the given key in the given session. |
void |
putSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.util.Map<java.lang.String,java.lang.Object> map)
Stores the given map of attribute key/value pairs in the given session. |
void |
putSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key,
java.lang.Object value)
Stores the given value under the given key in the given session. |
void |
removeSipApplicationSession(java.lang.String sipApplicationSessionKey)
Globally remove a session from the distributed cache. |
java.lang.Object |
removeSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String key)
Removes the attribute with the given key from the given session. |
void |
removeSipApplicationSessionAttributeLocal(java.lang.String sipApplicationSessionKey,
java.lang.String key)
Removes the attribute with the given key from the given session, but only on the local node. |
void |
removeSipApplicationSessionLocal(java.lang.String key,
java.lang.String dataOwner)
Remove a non-locally active sip application session from the distributed cache, but on this node only. |
void |
removeSipSession(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
Globally remove a session from the distributed cache. |
java.lang.Object |
removeSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key)
Removes the attribute with the given key from the given session. |
void |
removeSipSessionAttributeLocal(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key)
Removes the attribute with the given key from the given session, but only on the local node. |
void |
removeSipSessionLocal(java.lang.String sipAppSessionKey,
java.lang.String key,
java.lang.String dataOwner)
Remove a non-locally active sip session from the distributed cache, but on this node only. |
void |
setApplicationName(java.lang.String applicationName)
|
void |
setApplicationNameHashed(java.lang.String applicationNameHashed)
|
void |
sipApplicationSessionCreated(java.lang.String key)
Notification to the distributed cache that a session has been newly created. |
void |
sipSessionCreated(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
Notification to the distributed cache that a session has been newly created. |
void |
storeSipApplicationSessionAttributes(org.jboss.cache.Fqn<java.lang.String> fqn,
T sipApplicationSessionData)
Store or update a sip application session in the distributed cache. |
void |
storeSipApplicationSessionData(T sipApplicationSessionData)
Store or update a sip application session in the distributed cache. |
void |
storeSipSessionAttributes(org.jboss.cache.Fqn<java.lang.String> fqn,
T sipSessionData)
Store or update a sip session in the distributed cache. |
void |
storeSipSessionData(T sipSessionData)
Store or update a sip session in the distributed cache. |
| Methods inherited from interface org.jboss.web.tomcat.service.session.distributedcache.spi.DistributedCacheManager |
|---|
evictSession, evictSession, getAttribute, getAttributeKeys, getAttributes, getBatchingManager, getSessionData, getSessionData, getSessionIds, getSupportsAttributeOperations, isPassivationEnabled, putAttribute, putAttribute, removeAttribute, removeAttributeLocal, removeSession, removeSessionLocal, removeSessionLocal, sessionCreated, start, stop, storeSessionData |
| Method Detail |
|---|
void removeSipApplicationSession(java.lang.String sipApplicationSessionKey)
realId - the session's id, excluding any jvmRoute
void removeSipSession(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
realId - the session's id, excluding any jvmRoute
void removeSipApplicationSessionLocal(java.lang.String key,
java.lang.String dataOwner)
key - the session's keydataOwner - identifier of node where the session is active
void removeSipSessionLocal(java.lang.String sipAppSessionKey,
java.lang.String key,
java.lang.String dataOwner)
key - the session's keydataOwner - identifier of node where the session is activevoid storeSipSessionData(T sipSessionData)
session - the sip sessionvoid storeSipApplicationSessionData(T sipApplicationSessionData)
session - the sip application session
void storeSipSessionAttributes(org.jboss.cache.Fqn<java.lang.String> fqn,
T sipSessionData)
session - the sip session
void storeSipApplicationSessionAttributes(org.jboss.cache.Fqn<java.lang.String> fqn,
T sipApplicationSessionData)
session - the sip application session
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData getSipSessionData(java.lang.String sipAppSessionKey,
java.lang.String key,
boolean initialLoad)
IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip session.
key - the session's keyinitialLoad - true if this is the first access of this
session's data on this node
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData getSipSessionData(java.lang.String sipAppSessionKey,
java.lang.String key,
java.lang.String dataOwner,
boolean includeAttributes)
IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip session.
key - the session's keydataOwner - identifier of node where the session is active;
null if locally active or location where active
is unknownincludeAttributes - should
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData getSipApplicationSessionData(java.lang.String key,
boolean initialLoad)
IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip application session.
key - the session's keyinitialLoad - true if this is the first access of this
session's data on this node
org.jboss.web.tomcat.service.session.distributedcache.spi.IncomingDistributableSessionData getSipApplicationSessionData(java.lang.String key,
java.lang.String dataOwner,
boolean includeAttributes)
IncomingDistributableSessionData that encapsulates the
distributed cache's information about the given sip application session.
key - the session's keydataOwner - identifier of node where the session is active;
null if locally active or location where active
is unknownincludeAttributes - should
void evictSipSession(java.lang.String sipAppSessionKey,
java.lang.String key)
key - the session's keyvoid evictSipApplicationSession(java.lang.String key)
key - the session's key
void evictSipSession(java.lang.String sipAppSessionKey,
java.lang.String key,
java.lang.String dataOwner)
key - the session's keydataOwner - identifier of node where the session is active
void evictSipApplicationSession(java.lang.String key,
java.lang.String dataOwner)
key - the session's keydataOwner - identifier of node where the session is activejava.util.Map<java.lang.String,java.lang.String> getSipSessionKeys()
null value if buddy replication is not enabled.)
Will not return null.java.util.Map<java.lang.String,java.lang.String> getSipApplicationSessionKeys()
null value if buddy
replication is not enabled.) Will not return null.
void sipSessionCreated(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
sipApplicationSessionKey - the parent session's keysipSessionKey - the session's keyvoid sipApplicationSessionCreated(java.lang.String key)
key - the session's key
java.lang.Object getSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String key)
realId - the session id with any jvmRoute removedkey - the attribute key
null
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
void putSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String key,
java.lang.Object value)
realId - the session id with any jvmRoute removedkey - the attribute keyvalue - the previous attribute value, or null
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
void putSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.util.Map<java.lang.String,java.lang.Object> map)
realId - the session id with any jvmRoute removedmap -
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
java.lang.Object removeSipApplicationSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String key)
realId - the session id with any jvmRoute removedkey - the attribute key
null
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
void removeSipApplicationSessionAttributeLocal(java.lang.String sipApplicationSessionKey,
java.lang.String key)
realId - the session id with any jvmRoute removedkey - the attribute key
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
falsejava.util.Set<java.lang.String> getSipApplicationSessionAttributeKeys(java.lang.String sipApplicationSessionKey)
realId - the session id with any jvmRoute removed
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
falsejava.util.Map<java.lang.String,java.lang.Object> getSipApplicationSessionAttributes(java.lang.String sipApplicationSessionKey)
realId - the session id with any jvmRoute removed
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
java.util.Map<java.lang.String,java.lang.Object> getConvergedSessionAttributes(java.lang.String realId,
java.util.Map<java.lang.Object,java.lang.Object> distributedCacheData)
java.lang.Object getSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key)
realId - the session id with any jvmRoute removedkey - the attribute key
null
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
void putSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key,
java.lang.Object value)
realId - the session id with any jvmRoute removedkey - the attribute keyvalue - the previous attribute value, or null
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
void putSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.util.Map<java.lang.String,java.lang.Object> map)
realId - the session id with any jvmRoute removedmap -
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
java.lang.Object removeSipSessionAttribute(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key)
realId - the session id with any jvmRoute removedkey - the attribute key
null
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
void removeSipSessionAttributeLocal(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey,
java.lang.String key)
realId - the session id with any jvmRoute removedkey - the attribute key
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
java.util.Set<java.lang.String> getSipSessionAttributeKeys(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
realId - the session id with any jvmRoute removed
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
false
java.util.Map<java.lang.String,java.lang.Object> getSipSessionAttributes(java.lang.String sipApplicationSessionKey,
java.lang.String sipSessionKey)
realId - the session id with any jvmRoute removed
java.lang.UnsupportedOperationException - if DistributedCacheManager.getSupportsAttributeOperations() would return
falseorg.jboss.cache.Cache getJBossCache()
void setApplicationName(java.lang.String applicationName)
void setApplicationNameHashed(java.lang.String applicationNameHashed)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||