Package ru.bitel.bgbilling.kernel.event
Class PartitionedQueueEvent
java.lang.Object
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.kernel.event.PartitionedQueueEvent
- All Implemented Interfaces:
Serializable
public abstract class PartitionedQueueEvent
extends ru.bitel.bgbilling.kernel.event.common.QueueEvent
В отличие от
Event
доставляется только одному слушателю- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ModifierConstructorDescriptionprotected
PartitionedQueueEvent
(int moduleId, int contractId, int userId) PartitionedQueueEvent
(int moduleId, int pluginId, int contractId, int userId) -
Method Summary
Modifier and TypeMethodDescriptiongetDestination
(Class<?> clazz) static final String
getDestinationMask
(Class<?> clazz, int partitionValue) protected abstract String
protected abstract int
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getGenerateTime, getMessageID, getModuleId, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, toString, toString
-
Constructor Details
-
PartitionedQueueEvent
protected PartitionedQueueEvent() -
PartitionedQueueEvent
public PartitionedQueueEvent(int moduleId, int pluginId, int contractId, int userId) -
PartitionedQueueEvent
public PartitionedQueueEvent(int moduleId, int contractId, int userId)
-
-
Method Details
-
getPackageName
-
getPartitionValue
protected abstract int getPartitionValue() -
getDestination
- Overrides:
getDestination
in classru.bitel.bgbilling.kernel.event.common.Event
-
getDestinationMask
-