Package com.github.ambry.replication
Interface FindTokenFactory
-
public interface FindTokenFactory
A factory interface to create the FindToken
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FindToken
getFindToken(java.io.DataInputStream stream)
The find token created using the input stream providedFindToken
getNewFindToken()
Provides a new token to bootstrap the find operation
-
-
-
Method Detail
-
getFindToken
FindToken getFindToken(java.io.DataInputStream stream) throws java.io.IOException
The find token created using the input stream provided- Parameters:
stream
- The stream that is used to create the find token- Returns:
- The find token created from the stream
- Throws:
java.io.IOException
-
getNewFindToken
FindToken getNewFindToken()
Provides a new token to bootstrap the find operation- Returns:
- A new find token that helps to bootstrap the find operation
-
-