Interface Marshallable<T>
- Type Parameters:
T- the type of this marshaller
- All Known Subinterfaces:
ProtoStreamMarshaller<T>, ScalarMarshaller<T>
- All Known Implementing Classes:
AbstractCollectionMarshaller, AbstractMapMarshaller, AbstractMemberMarshaller, AddressMarshaller, AddressSetFunctionMarshaller, BigDecimalMarshaller, BinaryFieldMarshaller, BinaryMemberMarshaller, BinaryMethodMarshaller, ByteBufferMarshalledKeyMarshaller, ByteBufferMarshalledValueMarshaller, CalendarMarshaller, CollectionFunctionMarshaller, CollectionMarshaller, DecoratorMarshaller, DefaultSessionAccessMetaDataEntryMarshaller, DefaultSessionCreationMetaDataEntryMarshaller, DefaultSessionMetaDataEntryMarshaller, EnumMarshaller, ExceptionMarshaller, FieldMarshaller, InetSocketAddressMarshaller, LinkedHashMapMarshaller, LoadedClassField, LocalDateTimeMarshaller, LocaleMarshaller, MapComputeFunctionMarshaller, MapEntryMarshaller, MapMarshaller, MathContextMarshaller, MonthDayMarshaller, OffsetDateTimeMarshaller, OffsetTimeMarshaller, PackedArrayMarshaller, PeriodMarshaller, PropertiesMarshaller, PropertyMarshaller, ProxyMarshaller, Scalar, ScalarClass, ScalarFieldMarshaller, ScheduleCommandMarshaller, SessionAttributeMapComputeFunctionMarshaller, SessionAttributeMapEntryMarshaller, SessionKeyMarshaller, SessionMetaDataEntryFunctionMarshaller, SimpleExpirationMetaDataMarshaller, SortedMapMarshaller, SortedSetMarshaller, StackTraceElementMarshaller, StringKeyMapEntryMarshaller, StringKeyMapMarshaller, SynchronizedDecoratorMarshaller, TernaryFieldMarshaller, TernaryMemberMarshaller, TernaryMethodMarshaller, TypedArrayMarshaller, TypedEnumMarshaller, TypedObjectMarshaller, UnaryFieldMarshaller, UnaryMemberMarshaller, UnaryMethodMarshaller, VersionMarshaller, YearMonthMarshaller, ZonedDateTimeMarshaller
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type of object handled by this marshallable instance.default OptionalIntsize(ProtoStreamSizeOperation operation, T value) Computes the size of the specified object.
-
Method Details
-
size
Computes the size of the specified object.- Parameters:
operation- the marshalling operationvalue- the value whose size is to be calculated- Returns:
- an optional buffer size, only present if the buffer size could be computed
-
getJavaClass
-