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>
-
-
Constructor Summary
Constructors Constructor Description KahaAddScheduledJobCommand()
-
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<KahaAddScheduledJobCommand>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
- Overrides:
clear
in classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
clone
public KahaAddScheduledJobCommand clone()
- Specified by:
clone
in interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
- Specified by:
clone
in classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
mergeFrom
public KahaAddScheduledJobCommand mergeFrom(KahaAddScheduledJobCommand other)
- Specified by:
mergeFrom
in interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
- Overrides:
mergeFrom
in classorg.apache.activemq.protobuf.BaseMessage<KahaAddScheduledJobCommand>
-
serializedSizeUnframed
public int serializedSizeUnframed()
- Specified by:
serializedSizeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
-
mergeUnframed
public KahaAddScheduledJobCommand mergeUnframed(org.apache.activemq.protobuf.CodedInputStream input) throws IOException
- Specified by:
mergeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
- Throws:
IOException
-
writeUnframed
public void writeUnframed(org.apache.activemq.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeUnframed
in interfaceorg.apache.activemq.protobuf.Message<KahaAddScheduledJobCommand>
- Overrides:
writeUnframed
in 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.InvalidProtocolBufferException
IOException
-
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.InvalidProtocolBufferException
IOException
-
parseFramed
public static KahaAddScheduledJobCommand parseFramed(org.apache.activemq.protobuf.CodedInputStream data) throws org.apache.activemq.protobuf.InvalidProtocolBufferException, IOException
- Throws:
org.apache.activemq.protobuf.InvalidProtocolBufferException
IOException
-
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.InvalidProtocolBufferException
IOException
-
toString
public StringBuilder toString(StringBuilder sb, String prefix)
-
visit
public void visit(Visitor visitor) throws IOException
- Specified by:
visit
in interfaceJournalCommand<KahaAddScheduledJobCommand>
- Throws:
IOException
-
type
public KahaEntryType type()
- Specified by:
type
in interfaceJournalCommand<KahaAddScheduledJobCommand>
-
equals
public boolean equals(KahaAddScheduledJobCommand 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()
-
hasStartTime
public boolean hasStartTime()
-
getStartTime
public long getStartTime()
-
setStartTime
public T setStartTime(long startTime)
-
clearStartTime
public void clearStartTime()
-
hasCronEntry
public boolean hasCronEntry()
-
getCronEntry
public String getCronEntry()
-
setCronEntry
public T setCronEntry(String cronEntry)
-
clearCronEntry
public void clearCronEntry()
-
hasDelay
public boolean hasDelay()
-
getDelay
public long getDelay()
-
setDelay
public T setDelay(long delay)
-
clearDelay
public void clearDelay()
-
hasPeriod
public boolean hasPeriod()
-
getPeriod
public long getPeriod()
-
setPeriod
public T setPeriod(long period)
-
clearPeriod
public void clearPeriod()
-
hasRepeat
public boolean hasRepeat()
-
getRepeat
public int getRepeat()
-
setRepeat
public T setRepeat(int repeat)
-
clearRepeat
public void clearRepeat()
-
hasPayload
public boolean hasPayload()
-
getPayload
public org.apache.activemq.protobuf.Buffer getPayload()
-
setPayload
public T setPayload(org.apache.activemq.protobuf.Buffer payload)
-
clearPayload
public void clearPayload()
-
hasNextExecutionTime
public boolean hasNextExecutionTime()
-
getNextExecutionTime
public long getNextExecutionTime()
-
setNextExecutionTime
public T setNextExecutionTime(long nextExecutionTime)
-
clearNextExecutionTime
public void clearNextExecutionTime()
-
-