Class KahaAddScheduledJobCommand
java.lang.Object
org.apache.activemq.protobuf.BaseMessage<T>
org.apache.activemq.store.kahadb.data.KahaAddScheduledJobCommand
- All Implemented Interfaces:
org.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>,JournalCommand<KahaAddScheduledJobCommand>
public final class KahaAddScheduledJobCommand
extends org.apache.activemq.protobuf.BaseMessage<T>
implements JournalCommand<KahaAddScheduledJobCommand>
-
Field Summary
Fields inherited from class org.apache.activemq.protobuf.BaseMessage
memoizedSerializedSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidvoidvoidvoidvoidvoidvoidvoidclone()booleanbooleanlonggetDelay()getJobId()longorg.apache.activemq.protobuf.BufferlongintlongbooleanbooleanhasDelay()inthashCode()booleanhasJobId()booleanbooleanbooleanbooleanbooleanbooleanmergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) static KahaAddScheduledJobCommandparseFramed(byte[] data) static KahaAddScheduledJobCommandparseFramed(InputStream data) static KahaAddScheduledJobCommandparseFramed(org.apache.activemq.protobuf.Buffer data) static KahaAddScheduledJobCommandparseFramed(org.apache.activemq.protobuf.CodedInputStream data) static KahaAddScheduledJobCommandparseUnframed(byte[] data) static KahaAddScheduledJobCommandparseUnframed(InputStream data) static KahaAddScheduledJobCommandparseUnframed(org.apache.activemq.protobuf.Buffer data) static KahaAddScheduledJobCommandparseUnframed(org.apache.activemq.protobuf.CodedInputStream data) intsetCronEntry(String cronEntry) setDelay(long delay) setNextExecutionTime(long nextExecutionTime) setPayload(org.apache.activemq.protobuf.Buffer payload) setPeriod(long period) setRepeat(int repeat) setScheduler(String scheduler) setStartTime(long startTime) toString()toString(StringBuilder sb, String prefix) type()voidvoidwriteUnframed(org.apache.activemq.protobuf.CodedOutputStream output) 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, writeUnframedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.activemq.protobuf.Message
assertInitialized, mergeFramed, mergeFramed, mergeFramed, mergeFramed, mergeUnframed, mergeUnframed, mergeUnframed, serializedSizeFramed, toFramedBuffer, toFramedByteArray, toUnframedBuffer, toUnframedByteArray, writeFramed, writeFramed, writeUnframed
-
Constructor Details
-
KahaAddScheduledJobCommand
public KahaAddScheduledJobCommand()
-
-
Method Details
-
missingFields
- Overrides:
missingFieldsin classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>- Overrides:
clearin classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
clone
- Specified by:
clonein interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>- Specified by:
clonein classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
mergeFrom
- Specified by:
mergeFromin interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>- Overrides:
mergeFromin classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
serializedSizeUnframed
public int serializedSizeUnframed()- Specified by:
serializedSizeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
-
mergeUnframed
public KahaAddScheduledJobCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException - Specified by:
mergeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>- Throws:
IOException
-
writeUnframed
- Specified by:
writeUnframedin interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>- Overrides:
writeUnframedin classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>- Throws:
IOException
-
parseUnframed
public static KahaAddScheduledJobCommand parseUnframed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseUnframed
public static KahaAddScheduledJobCommand parseUnframed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaAddScheduledJobCommand parseUnframed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseUnframed
public static KahaAddScheduledJobCommand parseUnframed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaAddScheduledJobCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
parseFramed
public static KahaAddScheduledJobCommand parseFramed(org.apache.activemq.protobuf.Buffer data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaAddScheduledJobCommand parseFramed(byte[] data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
-
parseFramed
public static KahaAddScheduledJobCommand parseFramed(InputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException - Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferExceptionIOException
-
toString
-
toString
-
visit
- Specified by:
visitin interfaceJournalCommand<KahaAddScheduledJobCommand>- Throws:
IOException
-
type
- Specified by:
typein interfaceJournalCommand<KahaAddScheduledJobCommand>
-
equals
-
equals
-
hashCode
public int hashCode() -
hasScheduler
public boolean hasScheduler() -
getScheduler
-
setScheduler
-
clearScheduler
public void clearScheduler() -
hasJobId
public boolean hasJobId() -
getJobId
-
setJobId
-
clearJobId
public void clearJobId() -
hasStartTime
public boolean hasStartTime() -
getStartTime
public long getStartTime() -
setStartTime
-
clearStartTime
public void clearStartTime() -
hasCronEntry
public boolean hasCronEntry() -
getCronEntry
-
setCronEntry
-
clearCronEntry
public void clearCronEntry() -
hasDelay
public boolean hasDelay() -
getDelay
public long getDelay() -
setDelay
-
clearDelay
public void clearDelay() -
hasPeriod
public boolean hasPeriod() -
getPeriod
public long getPeriod() -
setPeriod
-
clearPeriod
public void clearPeriod() -
hasRepeat
public boolean hasRepeat() -
getRepeat
public int getRepeat() -
setRepeat
-
clearRepeat
public void clearRepeat() -
hasPayload
public boolean hasPayload() -
getPayload
public org.apache.activemq.protobuf.Buffer getPayload() -
setPayload
-
clearPayload
public void clearPayload() -
hasNextExecutionTime
public boolean hasNextExecutionTime() -
getNextExecutionTime
public long getNextExecutionTime() -
setNextExecutionTime
-
clearNextExecutionTime
public void clearNextExecutionTime()
-