Class LongExternalizer<T>
java.lang.Object
org.wildfly.clustering.marshalling.spi.LongExternalizer<T>
- All Implemented Interfaces:
Externalizer<T>
- Direct Known Subclasses:
DateExternalizer
Base
Externalizer for long-based externalization.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionLongExternalizer(Class<T> targetClass, LongFunction<T> reader, ToLongFunction<T> writer) -
Method Summary
Modifier and TypeMethodDescriptionreadObject(ObjectInput input) voidwriteObject(ObjectOutput output, T object)
-
Constructor Details
-
LongExternalizer
-
-
Method Details
-
writeObject
- Specified by:
writeObjectin interfaceExternalizer<T>- Throws:
IOException
-
readObject
- Specified by:
readObjectin interfaceExternalizer<T>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
- Specified by:
getTargetClassin interfaceExternalizer<T>
-
size
- Specified by:
sizein interfaceExternalizer<T>
-