primaryIndicator
protected boolean primaryIndicator
must primary change indicator set
MBeanRegistration, Contained, ClusterValve, JmxEnabled, Lifecycle, ValveImplementation of a Valve that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing). It is especially useful in debugging problems related to headers and cookies.
This Valve may be attached to any Container, depending on the granularity of the logging you wish to perform.
primaryIndicator=true, then the request attribute org.apache.catalina.ha.tcp.isPrimarySession. is set true, when request processing is at sessions primary node.
Lifecycle.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,
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) 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.filter - The filter to set.primaryIndicator - The primaryIndicator to set.primaryIndicatorName - The primaryIndicatorName to set.true if statistics are enableddoProcessingStats - New flag valuesession - cross context sessioninvoke in interface Valverequest - The servlet request to be processedresponse - The servlet response to be createdIOException - if an input/output error occursServletException - if a servlet error occursLifecycleBase.startInternal().startInternal in class ValveBaseLifecycleException - if this component detects a fatal error that prevents this component from being
usedrequest - 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 timerequest - The Servlet requestIOException - IO error finding session