Class ClusteredRegistration.ExecutorMBeanImpl

    • Field Detail

      • f_sMemberId

        protected final String f_sMemberId
        The member ID which hosts the executor.
      • f_sName

        protected final String f_sName
        The logical name of the executor.
      • f_sDetails

        protected final String f_sDetails
        The details of the executor.
      • f_sLocation

        protected final String f_sLocation
        The location of the executor.
      • f_sExecutorId

        protected final String f_sExecutorId
        The executor ID.
    • Constructor Detail

      • ExecutorMBeanImpl

        public ExecutorMBeanImpl​(String sName,
                                 int nMemberId,
                                 String sLocation,
                                 String sExecutorId,
                                 String sDetails)
        Constructs a ExecutorMBeanImpl.
        Parameters:
        sName - the executor name
        nMemberId - the member ID the executor is running on
        sLocation - the location details of the executor
        sExecutorId - the ID of the executor
        sDetails - the details of the executor type
    • Method Detail

      • getMemberId

        public String getMemberId()
        Description copied from interface: ExecutorMBean
        Get the member id where the executor is running.
        Specified by:
        getMemberId in interface ExecutorMBean
        Returns:
        the member id where the executor is running
      • getLocation

        public String getLocation()
        Description copied from interface: ExecutorMBean
        Get the location where the executor is running.
        Specified by:
        getLocation in interface ExecutorMBean
        Returns:
        the location where the executor is running
      • getStateCode

        public int getStateCode()
        Description copied from interface: ExecutorMBean
        Get the state of the executor as an integer.
        Specified by:
        getStateCode in interface ExecutorMBean
        Returns:
        the executor state as an integer
      • getTasksCompletedCount

        public long getTasksCompletedCount()
        Description copied from interface: ExecutorMBean
        Get the completed tasks count for the executor.
        Specified by:
        getTasksCompletedCount in interface ExecutorMBean
        Returns:
        the completed tasks count for the executor
      • getTasksRejectedCount

        public long getTasksRejectedCount()
        Description copied from interface: ExecutorMBean
        Get the number of tasks rejected by the executor.
        Specified by:
        getTasksRejectedCount in interface ExecutorMBean
        Returns:
        the rejected tasks count for the executor
      • getTasksInProgressCount

        public long getTasksInProgressCount()
        Description copied from interface: ExecutorMBean
        Get the in progress tasks count for the executor.
        Specified by:
        getTasksInProgressCount in interface ExecutorMBean
        Returns:
        the in progress tasks count for the executor
      • isTraceLogging

        public boolean isTraceLogging()
        Description copied from interface: ExecutorMBean
        Return a boolean to indicate whether the executor trace logging is enabled (true) or not (false). By default, the executor trace logging is disabled. You can enable it by either setting the "coherence.executor.trace.logging" system property or the "TraceLogging" attribute in the ExecutorMBean through JMX or management over REST.
        Specified by:
        isTraceLogging in interface ExecutorMBean
        Returns:
        whether executor trace logging is enabled (true) or not (false)
      • setTraceLogging

        public void setTraceLogging​(boolean fTrace)
        Description copied from interface: ExecutorMBean
        Set the trace to true to enable executor trace logging; false to disable executor trace logging.
        Specified by:
        setTraceLogging in interface ExecutorMBean
        Parameters:
        fTrace - a flag to indicate whether to enable (true) executor trace logging or not (false)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object