Class ClusterMetricSubscriber
java.lang.Object
com.swiftmq.swiftlet.queue.MessageProcessor
com.swiftmq.impl.queue.standard.cluster.ClusterMetricSubscriber
- All Implemented Interfaces:
com.swiftmq.swiftlet.threadpool.AsyncTask, Runnable
public class ClusterMetricSubscriber
extends com.swiftmq.swiftlet.queue.MessageProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisValid()voidprocessException(Exception exception) voidprocessMessage(com.swiftmq.swiftlet.queue.MessageEntry messageEntry) voidrun()toString()Methods inherited from class com.swiftmq.swiftlet.queue.MessageProcessor
createBulkBuffer, getBulkBuffer, getCurrentBulkSize, getDescription, getDispatchToken, getMaxBulkSize, getReceiverId, getRegistrationId, getRegistrationTime, getSelector, getTimeout, getTransactionId, getViewId, isAutoCommit, isBulkMode, processMessages, reset, setAutoCommit, setBulkMode, setCurrentBulkSize, setReceiverId, setRegistrationId, setRegistrationTime, setTransactionId, setViewId, stop
-
Constructor Details
-
ClusterMetricSubscriber
- Throws:
Exception
-
-
Method Details
-
isValid
public boolean isValid() -
processException
- Specified by:
processExceptionin classcom.swiftmq.swiftlet.queue.MessageProcessor
-
processMessage
public void processMessage(com.swiftmq.swiftlet.queue.MessageEntry messageEntry) - Specified by:
processMessagein classcom.swiftmq.swiftlet.queue.MessageProcessor
-
run
-
close
public void close() -
toString
-