Class KahaRescheduleJobCommand
- java.lang.Object
-
- org.apache.activemq.protobuf.BaseMessage<T>
-
- org.apache.activemq.store.kahadb.data.KahaRescheduleJobCommand
-
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
,JournalCommand<KahaRescheduleJobCommand>
public final class KahaRescheduleJobCommand extends org.apache.activemq.protobuf.BaseMessage<T> implements JournalCommand<KahaRescheduleJobCommand>
-
-
Constructor Summary
Constructors Constructor Description KahaRescheduleJobCommand()
-
Method Summary
-
Methods inherited from class org.apache.activemq.protobuf.BaseMessage
addAll, assertInitialized, checktInitialized, computeGroupSize, computeMessageSize, isInitialized, load, loadAndClear, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, prefix, readGroup, readRawByte, readRawVarint32, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeGroup, writeMessage, writeUnframed
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.protobuf.Message
assertInitialized, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeUnframed
-
-
-
-
Method Detail
-
missingFields
public ArrayList<String> missingFields()
- Overrides:
missingFields
in classorg.apache.activemq.protobuf.BaseMessage<KahaRescheduleJobCommand>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
- Overrides:
clear
in classorg.apache.activemq.protobuf.BaseMessage<KahaRescheduleJobCommand>
-
clone
public KahaRescheduleJobCommand clone()
- Specified by:
clone
in interfaceorg.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
- Specified by:
clone
in classorg.apache.activemq.protobuf.BaseMessage<KahaRescheduleJobCommand>
-
mergeFrom
public KahaRescheduleJobCommand mergeFrom(KahaRescheduleJobCommand other)
- Specified by:
mergeFrom
in interfaceorg.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
- Overrides:
mergeFrom
in classorg.apache.activemq.protobuf.BaseMessage<KahaRescheduleJobCommand>
-
serializedSizeUnframed
public int serializedSizeUnframed()
- Specified by:
serializedSizeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
-
mergeUnframed
public KahaRescheduleJobCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException
- Specified by:
mergeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
- Throws:
IOException
-
writeUnframed
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaRescheduleJobCommand>
- Overrides:
writeUnframed
in classorg.apache.activemq.protobuf.BaseMessage<KahaRescheduleJobCommand>
- Throws:
IOException
-
parseUnframed
public static KahaRescheduleJobCommand parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseUnframed
public static KahaRescheduleJobCommand parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaRescheduleJobCommand parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaRescheduleJobCommand parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaRescheduleJobCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaRescheduleJobCommand parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaRescheduleJobCommand parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaRescheduleJobCommand parseFramed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
toString
public StringBuilder toString(StringBuilder sb, String prefix)
-
visit
public void visit(Visitor visitor) throws IOException
- Specified by:
visit
in interfaceJournalCommand<KahaRescheduleJobCommand>
- Throws:
IOException
-
type
public KahaEntryType type()
- Specified by:
type
in interfaceJournalCommand<KahaRescheduleJobCommand>
-
equals
public boolean equals(KahaRescheduleJobCommand obj)
-
hasScheduler
public boolean hasScheduler()
-
getScheduler
public String getScheduler()
-
setScheduler
public T setScheduler(String scheduler)
-
clearScheduler
public void clearScheduler()
-
hasJobId
public boolean hasJobId()
-
getJobId
public String getJobId()
-
setJobId
public T setJobId(String jobId)
-
clearJobId
public void clearJobId()
-
hasExecutionTime
public boolean hasExecutionTime()
-
getExecutionTime
public long getExecutionTime()
-
setExecutionTime
public T setExecutionTime(long executionTime)
-
clearExecutionTime
public void clearExecutionTime()
-
hasNextExecutionTime
public boolean hasNextExecutionTime()
-
getNextExecutionTime
public long getNextExecutionTime()
-
setNextExecutionTime
public T setNextExecutionTime(long nextExecutionTime)
-
clearNextExecutionTime
public void clearNextExecutionTime()
-
hasRescheduledCount
public boolean hasRescheduledCount()
-
getRescheduledCount
public int getRescheduledCount()
-
setRescheduledCount
public T setRescheduledCount(int rescheduledCount)
-
clearRescheduledCount
public void clearRescheduledCount()
-
-