public abstract class PartitionedQueueEvent extends QueueEvent
Event
доставляется только одному слушателюCONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Modifier | Constructor and Description |
---|---|
protected |
PartitionedQueueEvent() |
|
PartitionedQueueEvent(int moduleId,
int contractId,
int userId) |
|
PartitionedQueueEvent(int moduleId,
int pluginId,
int contractId,
int userId) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getDestination(java.lang.Class<?> clazz) |
static java.lang.String |
getDestinationMask(java.lang.Class<?> clazz,
int partitionValue) |
protected abstract java.lang.String |
getPackageName() |
protected abstract int |
getPartitionValue() |
getContractId, getContractID, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
protected PartitionedQueueEvent()
public PartitionedQueueEvent(int moduleId, int pluginId, int contractId, int userId)
public PartitionedQueueEvent(int moduleId, int contractId, int userId)
protected abstract java.lang.String getPackageName()
protected abstract int getPartitionValue()
protected java.lang.String getDestination(java.lang.Class<?> clazz)
getDestination
in class Event
public static final java.lang.String getDestinationMask(java.lang.Class<?> clazz, int partitionValue)