Uses of Class
org.rostore.client.VersionedObject
-
Uses of VersionedObject in org.rostore.client
Modifier and TypeMethodDescriptionstatic <K,
V> VersionedObject <K, V> Creates a versioned object (general case)static <K,
V1, V2>
VersionedObject<K, V2> VersionedObject.createDeserialized
(VersionedObject<K, V1> original, V2 value) static <K,
V> VersionedObject <K, V> VersionedObject.createEternal
(K key, V object, Long version) Creates an eternal versioned objectstatic <K,
V> VersionedObject <K, V> VersionedObject.createNewVersioned
(K key, V value, Long unixEol) Creates first version of the entity with the expiration timestampstatic <K,
V> VersionedObject <K, V> VersionedObject.createNewVersionedEternal
(K key, V value) Creates first version of eternal objectstatic <K,
V> VersionedObject <K, V> VersionedObject.createUnversionedEternal
(K key, V value) Creates an eternal unversioned objectGet the api-key permissions by the key<V> VersionedObject
<K, V> GeneralContainer.get
(K key, EnumSet<RecordOption> options, Function<InputStream, V> deserializer) <V> VersionedObject
<K, V> GeneralContainer.get
(K key, Function<InputStream, V> deserializer) <V> VersionedObject
<K, V> Retrieves the object from the storage<V> VersionedObject
<K, V> GeneralContainer.getWrapped
(K key, EnumSet<RecordOption> options, Function<VersionedObject<K, InputStream>, VersionedObject<K, V>> transformation) ApiKeys.post
(VersionedObject<String, ApiKeyPermissions> apiKeyPermissions) Creates a new api-key and associate the permissions with itGeneralContainer.post
(VersionedObject<K, InputStream> versionedObject) GeneralContainer.post
(VersionedObject<K, InputStream> versionedObject, EnumSet<RecordOption> options) <V> VersionedObject
<K, V> GeneralContainer.post
(VersionedObject<K, V> versionedObject, EnumSet<RecordOption> options, Function<V, InputStream> serializer) <V> VersionedObject
<K, V> GeneralContainer.post
(VersionedObject<K, V> versionedObject, Function<V, InputStream> serializer) <V> VersionedObject
<K, V> MappedContainer.post
(VersionedObject<K, V> versionedObject) Creates a new key-value pair.<V> VersionedObject
<K, V> MappedContainer.post
(VersionedObject<K, V> versionedObject, EnumSet<RecordOption> options) Creates a new key-value pair.ApiKeys.put
(VersionedObject<String, ApiKeyPermissions> apiKeyPermissions) Updates given api-key<V> VersionedObject
<K, V> GeneralContainer.update
(VersionedObject<K, V> original, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject
<K, V> GeneralContainer.update
(VersionedObject<K, V> original, KeyExpirationUpdateFunction keyExpirationUpdateFunction, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject
<K, V> MappedContainer.update
(VersionedObject<K, V> original, Function<V, V> updateFunction) Updates a versioned key-value pair.<V> VersionedObject
<K, V> MappedContainer.update
(VersionedObject<K, V> original, Function<V, V> updateFunction, KeyExpirationUpdateFunction keyExpirationUpdateFunction) Updates a versioned key-value pair.Modifier and TypeMethodDescriptionstatic <K,
V1, V2>
VersionedObject<K, V2> VersionedObject.createDeserialized
(VersionedObject<K, V1> original, V2 value) ApiKeys.post
(VersionedObject<String, ApiKeyPermissions> apiKeyPermissions) Creates a new api-key and associate the permissions with itGeneralContainer.post
(VersionedObject<K, InputStream> versionedObject) GeneralContainer.post
(VersionedObject<K, InputStream> versionedObject, EnumSet<RecordOption> options) <V> VersionedObject
<K, V> GeneralContainer.post
(VersionedObject<K, V> versionedObject, EnumSet<RecordOption> options, Function<V, InputStream> serializer) <V> VersionedObject
<K, V> GeneralContainer.post
(VersionedObject<K, V> versionedObject, Function<V, InputStream> serializer) <V> VersionedObject
<K, V> MappedContainer.post
(VersionedObject<K, V> versionedObject) Creates a new key-value pair.<V> VersionedObject
<K, V> MappedContainer.post
(VersionedObject<K, V> versionedObject, EnumSet<RecordOption> options) Creates a new key-value pair.ApiKeys.put
(VersionedObject<String, ApiKeyPermissions> apiKeyPermissions) Updates given api-key<K,
V> long KeyExpirationUpdateFunction.unixEol
(VersionedObject<K, V> originalObject) <V> VersionedObject
<K, V> GeneralContainer.update
(VersionedObject<K, V> original, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject
<K, V> GeneralContainer.update
(VersionedObject<K, V> original, KeyExpirationUpdateFunction keyExpirationUpdateFunction, Function<V, V> updateFunction, Function<V, InputStream> serializer, Function<InputStream, V> deserializer) Updates the given entity<V> VersionedObject
<K, V> MappedContainer.update
(VersionedObject<K, V> original, Function<V, V> updateFunction) Updates a versioned key-value pair.<V> VersionedObject
<K, V> MappedContainer.update
(VersionedObject<K, V> original, Function<V, V> updateFunction, KeyExpirationUpdateFunction keyExpirationUpdateFunction) Updates a versioned key-value pair.Modifier and TypeMethodDescription<V> VersionedObject
<K, V> GeneralContainer.getWrapped
(K key, EnumSet<RecordOption> options, Function<VersionedObject<K, InputStream>, VersionedObject<K, V>> transformation) <V> VersionedObject
<K, V> GeneralContainer.getWrapped
(K key, EnumSet<RecordOption> options, Function<VersionedObject<K, InputStream>, VersionedObject<K, V>> transformation)