Class DbSchedulerBinaryEventData
java.lang.Object
org.axonframework.eventhandling.scheduling.dbscheduler.DbSchedulerBinaryEventData
- All Implemented Interfaces:
Serializable
Pojo for the data needed by the db-scheduler Scheduler. This will need to be serializable by the
Serializer configured on the
Scheduler. This one is used with the
invalid reference
DbSchedulerEventScheduler#binaryTask()
- Since:
- 4.8.0
- Author:
- Gerard Klijs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbSchedulerBinaryEventData(byte[] serializedPayload, String payloadClass, String revision, byte[] serializedMetadata) Crates a newDbSchedulerHumanReadableEventDatawith all the fields set. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetC()Gets the payload class.byte[]getM()Gets the serialized metadata.byte[]getP()Gets the serialized payload.getR()Gets the revision.inthashCode()voidSets the payload class.voidsetM(byte[] m) Sets the serialized metadata.voidsetP(byte[] p) Sets the serialized payload.voidSets the revision.toString()
-
Constructor Details
-
DbSchedulerBinaryEventData
public DbSchedulerBinaryEventData(byte[] serializedPayload, String payloadClass, String revision, byte[] serializedMetadata) Crates a newDbSchedulerHumanReadableEventDatawith all the fields set.
-
-
Method Details
-
getP
public byte[] getP()Gets the serialized payload.- Returns:
- the payload as
String
-
setP
public void setP(byte[] p) Sets the serialized payload.- Parameters:
p- asString
-
getC
Gets the payload class.- Returns:
- the payload class as
String
-
setC
Sets the payload class.- Parameters:
c- asString
-
getR
Gets the revision.- Returns:
- the revision as
String
-
setR
Sets the revision.- Parameters:
r- asString
-
getM
public byte[] getM()Gets the serialized metadata.- Returns:
- the serialized meta data as
String
-
setM
public void setM(byte[] m) Sets the serialized metadata.- Parameters:
m- asString
-
toString
-
hashCode
public int hashCode() -
equals
-