|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.dht.Token.TokenSerializer
public static class Token.TokenSerializer
Constructor Summary | |
---|---|
Token.TokenSerializer()
|
Method Summary | |
---|---|
Token |
deserialize(java.io.DataInput dis)
Deserialize from the specified DataInput instance. |
void |
serialize(Token token,
java.io.DataOutput dos)
Serialize the specified type into the specified DataOutput instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Token.TokenSerializer()
Method Detail |
---|
public void serialize(Token token, java.io.DataOutput dos) throws java.io.IOException
ICompactSerializer2
serialize
in interface ICompactSerializer2<Token>
token
- type that needs to be serializeddos
- DataOutput into which serialization needs to happen.
java.io.IOException
public Token deserialize(java.io.DataInput dis) throws java.io.IOException
ICompactSerializer2
deserialize
in interface ICompactSerializer2<Token>
dis
- DataInput from which deserialization needs to happen.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |