public static class DefaultSerializer.DateSerializer extends Object implements TypeSerializer<Date>
Constructor and Description |
---|
DefaultSerializer.DateSerializer() |
Modifier and Type | Method and Description |
---|---|
byte |
getTypeId() |
boolean |
isSuitable(Object obj) |
int |
priority() |
Date |
read(FastByteArrayInputStream bbis) |
void |
write(FastByteArrayOutputStream bbos,
Date obj) |
public int priority()
priority
in interface TypeSerializer<Date>
public final boolean isSuitable(Object obj)
isSuitable
in interface TypeSerializer<Date>
public final byte getTypeId()
getTypeId
in interface TypeSerializer<Date>
public final Date read(FastByteArrayInputStream bbis) throws Exception
read
in interface TypeSerializer<Date>
Exception
public final void write(FastByteArrayOutputStream bbos, Date obj) throws Exception
write
in interface TypeSerializer<Date>
Exception
Copyright © 2013 Hazelcast, Inc.. All rights reserved.