public abstract class ClusterManagerBase extends ManagerBase implements Lifecycle, java.beans.PropertyChangeListener, ClusterManager
ManagerBase.SessionTiming
algorithm, container, DEFAULT_ALGORITHM, devRandomSource, digest, distributable, domain, duplicates, entropy, expiredSessions, initialized, log, maxActive, maxInactiveInterval, mserver, name, oname, processExpiresFrequency, processingTime, random, randomClass, randomIS, sessionAverageAliveTime, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdLength, sessionMaxAliveTime, sessions, sm, support, TIMING_STATS_CACHE_SIZE
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, DESTROY_EVENT, INIT_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
Constructor and Description |
---|
ClusterManagerBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader[] |
getClassLoaders() |
static java.lang.ClassLoader[] |
getClassLoaders(Container container) |
ReplicationStream |
getReplicationStream(byte[] data)
Open Stream and use correct ClassLoader (Container) Switch
ThreadClassLoader
|
ReplicationStream |
getReplicationStream(byte[] data,
int offset,
int length) |
java.lang.String |
getSessionAttributeFilter()
Return the string pattern used for including session attributes
to replication.
|
void |
setSessionAttributeFilter(java.lang.String sessionAttributeFilter)
Set the pattern used for including session attributes to replication.
|
boolean |
willAttributeDistribute(java.lang.String name)
Check whether the given session attribute should be distributed
|
add, addPropertyChangeListener, backgroundProcess, changeSessionId, createEmptySession, createSession, createSession, destroy, expireSession, findSession, findSessions, generateSessionId, getActiveSessions, getAlgorithm, getClassName, getContainer, getCreationTime, getCreationTimestamp, getDigest, getDistributable, getDomain, getDuplicates, getEngine, getEntropy, getExpiredSessions, getInfo, getJvmRoute, getLastAccessedTime, getLastAccessedTimestamp, getMaxActive, getMaxInactiveInterval, getName, getNewSession, getObjectName, getProcessExpiresFrequency, getProcessingTime, getRandom, getRandomBytes, getRandomClass, getRandomFile, getSession, getSessionAttribute, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, init, listSessionIds, postDeregister, postRegister, preDeregister, preRegister, processExpires, remove, removePropertyChangeListener, setAlgorithm, setContainer, setDistributable, setDuplicates, setEntropy, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setProcessExpiresFrequency, setProcessingTime, setRandomClass, setRandomFile, setSessionAverageAliveTime, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifecycleListener, findLifecycleListeners, removeLifecycleListener, start, stop
cloneFromTemplate, doDomainReplication, getCluster, getInvalidatedSessions, getName, isDefaultMode, isNotifyListenersOnReplication, messageDataReceived, requestCompleted, setCluster, setDefaultMode, setDomainReplication, setName
add, addPropertyChangeListener, backgroundProcess, changeSessionId, createEmptySession, createSession, createSession, findSession, findSessions, getActiveSessions, getContainer, getDistributable, getExpiredSessions, getInfo, getMaxActive, getMaxInactiveInterval, getRejectedSessions, getSessionAverageAliveTime, getSessionCounter, getSessionIdLength, getSessionMaxAliveTime, load, remove, removePropertyChangeListener, setContainer, setDistributable, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setRejectedSessions, setSessionAverageAliveTime, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime, unload
public java.lang.String getSessionAttributeFilter()
public void setSessionAttributeFilter(java.lang.String sessionAttributeFilter)
E.g. ^(userName|sessionHistory)$
sessionAttributeFilter
- the filter name pattern to setpublic boolean willAttributeDistribute(java.lang.String name)
public static java.lang.ClassLoader[] getClassLoaders(Container container)
public java.lang.ClassLoader[] getClassLoaders()
public ReplicationStream getReplicationStream(byte[] data) throws java.io.IOException
getReplicationStream
in interface ClusterManager
data
- java.io.IOException
public ReplicationStream getReplicationStream(byte[] data, int offset, int length) throws java.io.IOException
getReplicationStream
in interface ClusterManager
java.io.IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.