Class BasePerCacheInboundInvocationHandler

    • Constructor Detail

      • BasePerCacheInboundInvocationHandler

        public BasePerCacheInboundInvocationHandler()
    • Method Detail

      • start

        public void start()
      • stop

        public void stop()
      • isStopped

        public boolean isStopped()
      • isCommandSentBeforeFirstTopology

        public final boolean isCommandSentBeforeFirstTopology​(int commandTopologyId)
      • getLog

        protected abstract Log getLog()
      • isTraceEnabled

        protected abstract boolean isTraceEnabled()
      • isStatisticsEnabled

        public boolean isStatisticsEnabled()
      • setStatisticsEnabled

        public void setStatisticsEnabled​(boolean enabled)
        Description copied from interface: JmxStatisticsExposer
        Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available through the mbean.
        Specified by:
        setStatisticsEnabled in interface JmxStatisticsExposer
        Parameters:
        enabled - true if statistics should be captured
      • getSyncXSiteRequestsReceived

        public long getSyncXSiteRequestsReceived()
      • getAsyncXSiteRequestsReceived

        public long getAsyncXSiteRequestsReceived()
      • getAsyncXSitePendingRequests

        public long getAsyncXSitePendingRequests()
      • getAsyncXSiteRunningRequests

        public long getAsyncXSiteRunningRequests()
      • getAsyncXSiteRequestQueueTime

        public long getAsyncXSiteRequestQueueTime()
      • getAsyncXSiteRequestRunningTime

        public long getAsyncXSiteRequestRunningTime()
      • setFirstTopologyAsMember

        public void setFirstTopologyAsMember​(int firstTopologyAsMember)
        Specified by:
        setFirstTopologyAsMember in interface PerCacheInboundInvocationHandler
        Parameters:
        firstTopologyAsMember - The first topology in which the local node was a member. Any command with a lower topology id will be ignored.