Package com.github.ambry.replication
Interface FindToken
-
public interface FindToken
The find token used to search entries in the store
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBytesRead()
Returns the total bytes read so far until this tokenFindTokenType
getType()
Returns the type ofFindToken
short
getVersion()
Returns the version of theFindToken
byte[]
toBytes()
Returns the contents of the token in bytes
-
-
-
Method Detail
-
toBytes
byte[] toBytes()
Returns the contents of the token in bytes- Returns:
- The byte array representing the token
-
getBytesRead
long getBytesRead()
Returns the total bytes read so far until this token- Returns:
- The total bytes read so far until this token
-
getType
FindTokenType getType()
Returns the type ofFindToken
- Returns:
- the type of the token
-
-