primaryIndicator
protected boolean primaryIndicator
Must set primary change indicator.
MBeanRegistration, Contained, ClusterValve, JmxEnabled, Lifecycle, ValveLifecycle.SingleUseprotected final ThreadLocal<ArrayList<DeltaSession>> protected booleanprotected Patternprotected AtomicLongprotected LongAdderprotected LongAdderprotected LongAdderprotected LongAdderprotected booleanprotected Stringprotected static final StringManagerprotected LongAdderprotected LongAdderasyncSupported, container, containerLog, nextAFTER_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_EVENTprotected voidcreatePrimaryIndicator(Request request) booleanlonglonglonglonglonglonglongvoidbooleanprotected booleanvoidregisterReplicationSession(DeltaSession session) protected voidresetDeltaRequest(Session session) protected voidresetReplicationRequest(Request request,
boolean isCrossContext) voidprotected voidsend(ClusterManager manager,
String sessionId) protected voidprotected voidsendInvalidSessions(ClusterManager manager) protected voidsendMessage(Session session,
ClusterManager manager) protected voidsendReplicationMessage(Request request,
long totalstart,
boolean isCrossContext,
boolean isAsync,
ClusterManager clusterManager) protected voidsendSessionReplicationMessage(Request request,
ClusterManager manager) voidsetCluster(CatalinaCluster cluster) voidvoidsetPrimaryIndicator(boolean primaryIndicator) voidsetPrimaryIndicatorName(String primaryIndicatorName) voidsetStatistics(boolean doProcessingStats) protected voidLifecycleBase.startInternal().protected voidupdateStats(long requestTime,
long clusterTime,
boolean isAsync) backgroundProcess, getContainer, getDomainInternal, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setContainer, setNext, stopInternal, toStringdestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister, unregisteraddLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbackgroundProcess, getNext, isAsyncSupported, setNextClusterValvegetCluster in interface ClusterValveClusterValvesetCluster in interface ClusterValvecluster - The cluster to set.null if not setfilter - The filter to set.true if the primary indicator is enabledprimaryIndicator - true to enable the primary indicatorprimaryIndicatorName - the primary indicator nametrue if statistics are enableddoProcessingStats - New flag valuesession - cross context sessionValvePerform request processing as required by this Valve.
An individual Valve MAY perform the following actions, in the specified order:
getNext().invoke().
A Valve MUST NOT do any of the following things:
getNext().invoke() method has
returned.
getNext().invoke() method has returned.
invoke in interface Valverequest - The servlet request to be processedresponse - The servlet response to be createdIOException - if an input/output error occurs, or is thrown by a subsequently invoked Valve,
Filter, or ServletServletException - if a servlet error occurs, or is thrown by a subsequently invoked Valve, Filter, or
ServletValveBaseLifecycleBase.startInternal().startInternal in class ValveBaseLifecycleException - if this component detects a fatal error that prevents this component from being
usedrequest - the requesttotalstart - the start timeisCrossContext - true if cross-contextisAsync - true if asyncclusterManager - the cluster managerrequest - current request after response is generatedisCrossContext - check crosscontext threadlocalsession - HttpSession from current request or cross context sessionrequest - current requestmanager - session managersession - current sessionmanager - session managermanager - SessionManagersessionId - sessionid from the managermanager - Associated manageruri - The request urirequestTime - Request timeclusterTime - Cluster timeisAsync - if the request was in async moderequest - The Servlet requestIOException - IO error finding session