Package io.pravega.shared.protocol.netty
Class WireCommands.ReleasableCommand
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
-
- All Implemented Interfaces:
WireCommand
- Direct Known Subclasses:
WireCommands.AppendBlock,WireCommands.AppendBlockEnd,WireCommands.ConditionalAppend,WireCommands.ConditionalBlockEnd,WireCommands.PartialEvent,WireCommands.ReadTable,WireCommands.RemoveTableKeys,WireCommands.SegmentRead,WireCommands.TableEntriesDeltaRead,WireCommands.TableEntriesRead,WireCommands.TableKeysRead,WireCommands.TableRead,WireCommands.UpdateTableEntries
- Enclosing class:
- WireCommands
public abstract static class WireCommands.ReleasableCommand extends java.lang.Object implements WireCommand
Base class for any command that may require releasing resources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReleased()voidrelease()Releases any resources used by this command, if needed#isReleased()is false.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.pravega.shared.protocol.netty.WireCommand
getType, writeFields
-
-