Package com.illumon.iris.binarystore
Class CommandRecordV2.DeletePartition2Command
java.lang.Object
com.illumon.iris.binarystore.CommandRecordV2
com.illumon.iris.binarystore.CommandRecordV2.DeletePartition2Command
- All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable
,RecordData
- Enclosing class:
- CommandRecordV2
public static class CommandRecordV2.DeletePartition2Command extends CommandRecordV2
This class represents a command to delete the identified partition.
This is primarily a POC command that has a payload.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.binarystore.CommandRecordV2
CommandRecordV2.CheckpointCommand, CommandRecordV2.DeletePartition2Command, CommandRecordV2.DeletePartitionCommand, CommandRecordV2.LASCommandRecordV2
-
Field Summary
-
Method Summary
Modifier and Type Method Description com.fishlib.base.log.LogOutput
append(com.fishlib.base.log.LogOutput logOutput)
int
getDataSize()
Determine the required buffer size in bytes.void
write(ByteBuffer buffer)
Write the record data to the given data buffer.Methods inherited from class com.illumon.iris.binarystore.CommandRecordV2
getCommand, setCommand, toString
-
Method Details
-
write
Description copied from interface:RecordData
Write the record data to the given data buffer.- Specified by:
write
in interfaceRecordData
- Overrides:
write
in classCommandRecordV2
- Parameters:
buffer
- write to this buffer
-
append
public com.fishlib.base.log.LogOutput append(com.fishlib.base.log.LogOutput logOutput)- Specified by:
append
in interfacecom.fishlib.base.log.LogOutputAppendable
- Overrides:
append
in classCommandRecordV2
-
getDataSize
public int getDataSize()Description copied from interface:RecordData
Determine the required buffer size in bytes. Note that this method is intended for use in exception-handling and may not have good performance, and may allocate temporary buffers to determine the final data size.- Specified by:
getDataSize
in interfaceRecordData
- Overrides:
getDataSize
in classCommandRecordV2
- Returns:
- the required buffer size in bytes
-