Uses of Class
org.rostore.entity.Record
Packages that use Record
Package
Description
RoStore core entities
RoStore REST service classes
REST-related APIKey management classes
Classes related to the containers, shards
RoStore async classes for high-frequency massive concurrency
Low-level operation to read/write key entries
-
Uses of Record in org.rostore.entity
Methods in org.rostore.entity that return RecordModifier and TypeMethodDescriptionRecord.addOption(RecordOption recordOption) Adds an option to the record objectRecord.addOptions(Set<RecordOption> recordOptions) Adds a set of options to the record objectRecord.eol(long eol) Sets end of live of the recordOptionMismatchException.getRecord()Record caused an exception (as provided when operation is executed)Record.id(long id) Sets the id to be stored with the record.Record.ttl(long ttl) Record.ttlOrUnitEol(Long ttl, Long unixEol) Creates a record based on ttl or unixEol provided.Record.version(long version) Sets a version to the recordMethods in org.rostore.entity with parameters of type RecordModifier and TypeMethodDescriptionstatic voidVersionMismatchException.checkAndThrow(long dataVersion, Record queryRecord) Checks if the version of the request fits the underlying stored version.static voidVersionMismatchInitException.checkAndThrow(Record record) Checks if the record can be initialized with the given set ofRecordOptionand the version.static voidOptionMismatchException.checkInsertRecord(Record record) Checks options when an entry should be inserted and throws an exception if the state is invalid (insert is not allowed).static voidOptionMismatchException.checkUpdateRecord(KeyBlockEntry entry, Record record) Checks options when an entry should be updated and throws an exception if the state is invalid (update is not allowed). -
Uses of Record in org.rostore.service
Methods in org.rostore.service with parameters of type Record -
Uses of Record in org.rostore.service.apikey
Methods in org.rostore.service.apikey with parameters of type RecordModifier and TypeMethodDescriptionApiKeyManager.create(ApiKeyPermissions apiKeyPermissions, Record record) voidvoidApiKeyManager.update(ApiKeyDefinition apiKeyDefinition, Record record) -
Uses of Record in org.rostore.v2.container
Methods in org.rostore.v2.container that return RecordModifier and TypeMethodDescriptionContainerShardKeyOperations.getKey(byte[] key) Executes an operation to find a keyDataWithRecord.getRecord()Provides a metadata of the entryMethods in org.rostore.v2.container with parameters of type RecordModifier and TypeMethodDescription<T extends OutputStream>
voidFunction to store the body of the value, using the shard's allocatorlongCreate or update the provided key with the parameter from the provided record.booleanRemoves a key from the shardConstructors in org.rostore.v2.container with parameters of type Record -
Uses of Record in org.rostore.v2.container.async
Methods in org.rostore.v2.container.async that return RecordModifier and TypeMethodDescriptionAsyncContainer.put(int sessionId, byte[] key, Consumer<OutputStream> valueOutputStream) Puts a key-value pair to container.AsyncContainer.put(int sessionId, String key, Consumer<OutputStream> valueOutputStream) Puts a key-value pair to container.<T> RecordPuts a key-value pair to container.Methods in org.rostore.v2.container.async with parameters of type RecordModifier and TypeMethodDescriptionvoidAsyncStream.notifyRecord(Record record) voidAsyncContainer.put(int sessionId, byte[] key, Consumer<OutputStream> valueOutputStream, Record record) Puts a key-value pair to container.<T extends InputStream>
voidAsyncContainer.put(int sessionId, byte[] key, AsyncStream<T> valueStream, Record record) Puts a key-value pair to the container<T> voidPuts a key-value pair to container<T> voidPuts a key-value pair to container.<T extends InputStream>
voidAsyncContainer.putAsync(int sessionId, byte[] key, AsyncStream<T> asyncStream, Record record) Puts a key-value pair to container.voidbooleanDelete a key if one existsbooleanDelete a key if one existsAsyncContainer.removeAsync(int sessionId, byte[] key, Record record) Delete a key if one exists -
Uses of Record in org.rostore.v2.keys
Methods in org.rostore.v2.keys that return RecordModifier and TypeMethodDescriptionKeyBlockEntry.getRecord()Reads the record from the current positionKeyBlockOperations.getRecord(byte[] key) Searches for the provided key and return theRecordassociated with it.Methods in org.rostore.v2.keys with parameters of type RecordModifier and TypeMethodDescriptionlongStore the record for specified keybooleanSearches a key and removes the key if found.voidPut record to the current position / entry