Package com.usatiuk.objects
Interface JData
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
JDataRefcounted
,JMapHolder<K>
- All Known Implementing Classes:
File
,JKleppmannTreeNodeHolder
,JKleppmannTreePersistentData
,JMapEntry
,PersistentRemoteHostsData
,RemoteObjectDataWrapper
,RemoteObjectMeta
JData is a marker interface for all objects that can be stored in the object store.
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
Returns the estimated size of the object in bytes.key()
Returns the key of the object.
-
Method Details
-
key
JObjectKey key()Returns the key of the object.- Returns:
- the key of the object
-
estimateSize
default int estimateSize()Returns the estimated size of the object in bytes.- Returns:
- the estimated size of the object in bytes
-