public class DrainRequest extends MaestroRequest<MaestroReceiverEventListener>
| Constructor and Description |
|---|
DrainRequest() |
DrainRequest(org.msgpack.core.MessageUnpacker unpacker) |
| Modifier and Type | Method and Description |
|---|---|
MessageCorrelation |
correlate() |
void |
correlate(MaestroNote note) |
void |
correlate(MessageCorrelation correlation) |
boolean |
correlatesTo(MaestroNote note) |
boolean |
correlatesTo(MessageCorrelation correlation) |
String |
getDuration() |
MaestroCommand |
getMaestroCommand()
Gets the Maestro command for the note
|
MaestroNoteType |
getNoteType()
Gets the note type
|
String |
getParallelCount() |
String |
getUrl() |
String |
getWorkerName() |
void |
notify(MaestroReceiverEventListener visitor) |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
void |
setDuration(String duration) |
void |
setParallelCount(String parallelCount) |
void |
setUrl(String url) |
void |
setWorkerName(String workerName) |
String |
toString()
Converts the note to string for debugging purposes
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNext, nextpublic DrainRequest()
public DrainRequest(org.msgpack.core.MessageUnpacker unpacker)
throws IOException
IOExceptionpublic String getDuration()
public void setDuration(String duration)
public String getUrl()
public void setUrl(String url)
public String getParallelCount()
public void setParallelCount(String parallelCount)
public String getWorkerName()
public void setWorkerName(String workerName)
public void notify(MaestroReceiverEventListener visitor)
notify in class MaestroEvent<MaestroReceiverEventListener>protected org.msgpack.core.MessageBufferPacker pack()
throws IOException
IOExceptionpublic String toString()
MaestroNotetoString in interface MaestroNotetoString in class MaestroRequest<MaestroReceiverEventListener>public MaestroNoteType getNoteType()
MaestroNotegetNoteType in interface MaestroNotepublic MaestroCommand getMaestroCommand()
MaestroNotegetMaestroCommand in interface MaestroNotepublic MessageCorrelation correlate()
correlate in interface MaestroNotepublic void correlate(MessageCorrelation correlation)
correlate in interface MaestroNotepublic void correlate(MaestroNote note)
correlate in interface MaestroNotepublic boolean correlatesTo(MessageCorrelation correlation)
correlatesTo in interface MaestroNotepublic boolean correlatesTo(MaestroNote note)
correlatesTo in interface MaestroNotepublic final byte[] serialize()
throws IOException
MaestroNoteserialize in interface MaestroNoteIOException - if unable to serialize the noteThis documentation was released into the public domain.