public interface SerializationStrategy<T>
| Modifier and Type | Method and Description |
|---|---|
@NotNull BracketType |
bracketType()
Returns the
BracketType used by this serialization strategy. |
T |
newInstanceOrNull(Class<T> type)
Constructs and returns a new instance using the provided
type
as a reference. |
T |
readUsing(Class clazz,
T using,
ValueIn in,
BracketType bracketType) |
Class<T> |
type()
Returns the
type handled by this serialization strategy. |
@Nullable T readUsing(Class clazz, T using, ValueIn in, BracketType bracketType) throws net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.io.InvalidMarshallableException@Nullable T newInstanceOrNull(Class<T> type)
type
as a reference. If the instance cannot be constructed, null
is returned.type or nullClass<T> type()
type handled by this serialization strategy.type handled by this serialization strategy.@NotNull @NotNull BracketType bracketType()
BracketType used by this serialization strategy.BracketType used by this serialization strategy.Copyright © 2023. All rights reserved.