public interface ObjectSerializer
OBJECT_SERIALIZER_PROPERTY
value on the flow configuration.Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_SERIALIZER_PROPERTY |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
accepts(Class<T> type) |
<T> T |
deserialize(byte[] bytes,
Class<T> type,
boolean decompress) |
<T> byte[] |
serialize(T object,
boolean compress) |
static final String OBJECT_SERIALIZER_PROPERTY
<T> byte[] serialize(T object, boolean compress) throws IOException
IOException
<T> T deserialize(byte[] bytes, Class<T> type, boolean decompress) throws IOException
IOException
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.