Package org.apache.lucene.replicator
Class SessionToken
java.lang.Object
org.apache.lucene.replicator.SessionToken
Deprecated.
use org.apache.lucene.replicator.nrt instead
Token for a replication session, for guaranteeing that source replicated files will be kept safe
until the replication completes.
- See Also:
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDeprecated.Constructor which deserializes from the givenDataInput
.SessionToken
(String id, Revision revision) Deprecated.Constructor with the given id and revision. -
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(DataOutput out) Deprecated.Serialize the token data for communication between server and client.toString()
Deprecated.
-
Field Details
-
id
Deprecated.ID of this session. Should be passed when releasing the session, thereby acknowledging theReplicator
that this session is no longer in use.- See Also:
-
version
Deprecated.- See Also:
-
sourceFiles
Deprecated.- See Also:
-
-
Constructor Details
-
SessionToken
Deprecated.Constructor which deserializes from the givenDataInput
.- Throws:
IOException
-
SessionToken
Deprecated.Constructor with the given id and revision.
-
-
Method Details
-
serialize
Deprecated.Serialize the token data for communication between server and client.- Throws:
IOException
-
toString
Deprecated.
-