Package io.pravega.shared.protocol.netty
Class WireCommands.RemoveTableKeys
- java.lang.Object
-
- io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
-
- io.pravega.shared.protocol.netty.WireCommands.RemoveTableKeys
-
- All Implemented Interfaces:
Request,WireCommand
- Enclosing class:
- WireCommands
public static final class WireCommands.RemoveTableKeys extends WireCommands.ReleasableCommand implements Request, WireCommand
-
-
Constructor Summary
Constructors Constructor Description RemoveTableKeys(long requestId, java.lang.String segment, java.lang.String delegationToken, java.util.List<WireCommands.TableKey> keys, long tableSegmentOffset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetDelegationToken()java.util.List<WireCommands.TableKey>getKeys()longgetRequestId()java.lang.StringgetSegment()longgetTableSegmentOffset()WireCommandTypegetType()inthashCode()voidprocess(RequestProcessor cp)static WireCommandreadFrom(EnhancedByteBufInputStream in, int length)java.lang.StringtoString()voidwriteFields(java.io.DataOutput out)-
Methods inherited from class io.pravega.shared.protocol.netty.WireCommands.ReleasableCommand
isReleased, release
-
-
-
-
Constructor Detail
-
RemoveTableKeys
@ConstructorProperties({"requestId","segment","delegationToken","keys","tableSegmentOffset"}) public RemoveTableKeys(long requestId, java.lang.String segment, java.lang.String delegationToken, java.util.List<WireCommands.TableKey> keys, long tableSegmentOffset)
-
-
Method Detail
-
process
public void process(RequestProcessor cp)
-
writeFields
public void writeFields(java.io.DataOutput out) throws java.io.IOException- Specified by:
writeFieldsin interfaceWireCommand- Throws:
java.io.IOException
-
readFrom
public static WireCommand readFrom(EnhancedByteBufInputStream in, int length) throws java.io.IOException
- Throws:
java.io.IOException
-
getType
public WireCommandType getType()
- Specified by:
getTypein interfaceWireCommand
-
getRequestId
public long getRequestId()
- Specified by:
getRequestIdin interfaceRequest
-
getSegment
public java.lang.String getSegment()
-
getDelegationToken
public java.lang.String getDelegationToken()
-
getKeys
public java.util.List<WireCommands.TableKey> getKeys()
-
getTableSegmentOffset
public long getTableSegmentOffset()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-