Class HotRodManager
java.lang.Object
org.apache.catalina.util.LifecycleBase
org.apache.catalina.util.LifecycleMBeanBase
org.apache.catalina.session.ManagerBase
org.wildfly.clustering.tomcat.catalina.AbstractManager
org.wildfly.clustering.tomcat.infinispan.remote.HotRodManager
- All Implemented Interfaces:
MBeanRegistration,org.apache.catalina.DistributedManager,org.apache.catalina.JmxEnabled,org.apache.catalina.Lifecycle,org.apache.catalina.Manager
Distributed
Manager that persists sessions to a remote Infinispan cluster.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.catalina.session.ManagerBase
org.apache.catalina.session.ManagerBase.SessionTimingNested classes/interfaces inherited from interface org.apache.catalina.Lifecycle
org.apache.catalina.Lifecycle.SingleUse -
Field Summary
Fields inherited from class org.apache.catalina.session.ManagerBase
duplicates, expiredSessions, maxActive, maxActiveSessions, processExpiresFrequency, processingTime, rejectedSessions, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, sessionCounter, sessionCreationTiming, sessionExpirationTiming, sessionIdGenerator, sessionIdGeneratorClass, sessionMaxAliveTime, sessions, sm, support, TIMING_STATS_CACHE_SIZEFields inherited from class org.apache.catalina.util.LifecycleMBeanBase
mserverFields inherited from interface org.apache.catalina.Lifecycle
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map.Entry<org.wildfly.clustering.session.SessionManagerFactory<javax.servlet.ServletContext,CatalinaSessionContext>, UnaryOperator<String>> createSessionManagerFactory(org.wildfly.clustering.session.SessionManagerFactoryConfiguration<CatalinaSessionContext> config, String localRoute, Consumer<Runnable> stopTasks) voidsetProperty(String name, String value) voidsetTemplate(String templateName) voidMethods inherited from class org.wildfly.clustering.tomcat.catalina.AbstractManager
add, backgroundProcess, changeSessionId, createEmptySession, createSession, expireSession, findSession, findSessions, getActiveSessionsFull, getCreationTime, getCreationTimestamp, getLastAccessedTime, getLastAccessedTimestamp, getSession, getSessionAttribute, getSessionIdsFull, getThisAccessedTime, getThisAccessedTimestamp, listSessionIds, load, processExpires, remove, remove, setGranularity, setGranularity, setMarshaller, setMarshallerFactory, setPersistenceStrategy, startInternal, stopInternal, unload, willAttributeDistributeMethods inherited from class org.apache.catalina.session.ManagerBase
addPropertyChangeListener, changeSessionId, changeSessionId, generateSessionId, getActiveSessions, getClassName, getContext, getDomainInternal, getDuplicates, getEngine, getExpiredSessions, getJvmRoute, getMaxActive, getMaxActiveSessions, getName, getNewSession, getNotifyAttributeListenerOnUnchangedValue, getNotifyBindingListenerOnUnchangedValue, getObjectNameKeyProperties, getPersistAuthentication, getPersistAuthenticationNotes, getProcessExpiresFrequency, getProcessingTime, getRejectedSessions, getSecureRandomAlgorithm, getSecureRandomClass, getSecureRandomProvider, getSessionAttributeNameFilter, getSessionAttributeNamePattern, getSessionAttributeValueClassNameFilter, getSessionAttributeValueClassNamePattern, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdGenerator, getSessionMaxAliveTime, getWarnOnSessionAttributeFilterFailure, initInternal, removePropertyChangeListener, rotateSessionId, setContext, setDuplicates, setExpiredSessions, setMaxActive, setMaxActiveSessions, setNotifyAttributeListenerOnUnchangedValue, setNotifyBindingListenerOnUnchangedValue, setPersistAuthentication, setPersistAuthenticationNotes, setProcessExpiresFrequency, setProcessingTime, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProvider, setSessionAttributeNameFilter, setSessionAttributeValueClassNameFilter, setSessionCounter, setSessionIdGenerator, setSessionMaxAliveTime, setWarnOnSessionAttributeFilterFailure, toString, updateSessionMaxAliveTimeMethods inherited from class org.apache.catalina.util.LifecycleMBeanBase
destroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister, unregisterMethods inherited from class org.apache.catalina.util.LifecycleBase
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stop
-
Constructor Details
-
HotRodManager
public HotRodManager()
-
-
Method Details
-
setUri
-
setProperty
-
setTemplate
-
createSessionManagerFactory
protected Map.Entry<org.wildfly.clustering.session.SessionManagerFactory<javax.servlet.ServletContext,CatalinaSessionContext>, createSessionManagerFactoryUnaryOperator<String>> (org.wildfly.clustering.session.SessionManagerFactoryConfiguration<CatalinaSessionContext> config, String localRoute, Consumer<Runnable> stopTasks) - Specified by:
createSessionManagerFactoryin classAbstractManager
-