Class ObjectStoreInfo
-
- All Implemented Interfaces:
public final class ObjectStoreInfoInformation about an object in the object store
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classObjectStoreInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringbucketprivate final Stringnameprivate final Stringdescriptionprivate final Longsizeprivate final Integerchunksprivate final Stringdigestprivate final Instantmodifiedprivate final Booleandeletedprivate final Headersheadersprivate final ObjectStoreLinklinkpublic final static ObjectStoreInfo.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description ObjectStoreInfo(String bucket, String name, String description, Long size, Integer chunks, String digest, Instant modified, Boolean deleted, Headers headers, ObjectStoreLink link)
-
Method Summary
Modifier and Type Method Description final StringgetBucket()The name of the bucket containing the object final StringgetName()The name of the object final StringgetDescription()Optional description of the object final LonggetSize()The size of the object in bytes final IntegergetChunks()The number of chunks the object is split into final StringgetDigest()The SHA-256 digest of the object final InstantgetModified()The timestamp when the object was last modified final BooleangetDeleted()Whether the object is deleted final HeadersgetHeaders()Optional headers attached to the object final ObjectStoreLinkgetLink()What this entry points at, or nullwhen it holds its own bytes.-
-
Method Detail
-
getDescription
final String getDescription()
Optional description of the object
-
getModified
final Instant getModified()
The timestamp when the object was last modified
-
getDeleted
final Boolean getDeleted()
Whether the object is deleted
-
getHeaders
final Headers getHeaders()
Optional headers attached to the object
-
getLink
final ObjectStoreLink getLink()
What this entry points at, or
nullwhen it holds its own bytes. An entry whose link ObjectStoreLink.isBucketLink cannot be read with eu.vstoyanov.natsy.jetstream.ObjectStore.get - there is no object there to read.
-
-
-
-