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,AddressSetFunctionMarshaller,BigDecimalMarshaller,BinaryFieldMarshaller,BinaryMemberMarshaller,BinaryMethodMarshaller,ByteBufferMarshalledKeyMarshaller,ByteBufferMarshalledValueMarshaller,CalendarMarshaller,ClassMarshaller,CollectionFunctionMarshaller,CollectionMarshaller,DecoratorMarshaller,DefaultSessionAccessMetaDataEntryMarshaller,DefaultSessionCreationMetaDataEntryMarshaller,DefaultSessionMetaDataEntryMarshaller,EnumMapMarshaller,EnumMarshaller,EnumSetMarshaller,ExceptionMarshaller,FieldMarshaller,IdentifierScalarMarshaller,InetSocketAddressMarshaller,LinkedHashMapMarshaller,LoadedClassField,LocalDateTimeMarshaller,LocaleMarshaller,MapComputeFunctionMarshaller,MapEntryMarshaller,MapMarshaller,MathContextMarshaller,MonthDayMarshaller,OffsetDateTimeMarshaller,OffsetTimeMarshaller,PackedArrayMarshaller,PeriodMarshaller,ProxyMarshaller,Scalar,ScalarClass,ScalarFieldMarshaller,ScheduleWithMetaDataCommandMarshaller,SessionAttributeMapComputeFunctionMarshaller,SessionAttributeMapEntryMarshaller,SessionCreationMetaDataEntryFunctionMarshaller,SessionMetaDataEntryFunctionMarshaller,SimpleExpirationMetaDataMarshaller,SortedMapMarshaller,SortedSetMarshaller,StackTraceElementMarshaller,SynchronizedDecoratorMarshaller,TernaryFieldMarshaller,TernaryMemberMarshaller,TernaryMethodMarshaller,TypedArrayMarshaller,TypedEnumMarshaller,TypedObjectMarshaller,UnaryFieldMarshaller,UnaryMemberMarshaller,UnaryMethodMarshaller,YearMonthMarshaller,ZonedDateTimeMarshaller
Interface inherited by marshallable components.
- Author:
- Paul Ferraro
-
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
-