Index

A B C D E G I L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

ApiKeyDefinition - Class in org.rostore.entity.apikey
A class that puts together the api key and value in form of ApiKeyPermissions.
ApiKeyDefinition() - Constructor for class org.rostore.entity.apikey.ApiKeyDefinition
 
ApiKeyDefinition(String, ApiKeyPermissions) - Constructor for class org.rostore.entity.apikey.ApiKeyDefinition
 
ApiKeyPermissions - Class in org.rostore.entity.apikey
Defines permissions associated with APIKEY
ApiKeyPermissions() - Constructor for class org.rostore.entity.apikey.ApiKeyPermissions
 

B

BinaryMapper - Class in org.rostore.mapper
A class to serialize and deserialize java classes to the binary stream.
BinaryMapper() - Constructor for class org.rostore.mapper.BinaryMapper
 
BlockIndex - Annotation Interface in org.rostore.mapper
Annotation that can be used on the fields of the java objects that store a block index.
BlockOffset - Annotation Interface in org.rostore.mapper
Annotation that can be used on the fields of the java objects that store an offset within a block.
blockSize(int) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the block size that will be used by the storage
BYTES_PER_EOL - Static variable in class org.rostore.Utils
 
BYTES_PER_VERSION - Static variable in class org.rostore.Utils
 

C

CLEANUP_INTERVAL_MILLIS_DEFAULT - Static variable in class org.rostore.entity.media.ContainerListProperties
 
closeUnusedBlocksAfterMillis(long) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the time interval in milliseconds after each the unused blocks will be removed from the memory.
closeUnusedSequencesAfterMillis(long) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the time interval in milliseconds after each the unused block sequences will be removed from the memory.
computeBytesForMaxValue(long) - Static method in class org.rostore.Utils
Computes how many bytes is needed to represent the value
ContainerListProperties - Class in org.rostore.entity.media
The class contains the properties that steers the list of containers.
ContainerListProperties() - Constructor for class org.rostore.entity.media.ContainerListProperties
 
ContainerMeta - Class in org.rostore.entity.media
Specifies the major container properties, such as the maximum size and maximum TTL of the keys the container will allow to store, as well as the number of container's shard.
ContainerMeta() - Constructor for class org.rostore.entity.media.ContainerMeta
 
ContainerMetaCompatibility - Class in org.rostore.entity.media
 
ContainerMetaCompatibility() - Constructor for class org.rostore.entity.media.ContainerMetaCompatibility
 
CREATE - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to create entries.

D

DELETE - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to delete entries.
deserialize(MapperProperties, Type, InputStream) - Static method in class org.rostore.mapper.BinaryMapper
 
deserialize(MapperProperties, Type, InputStream, int) - Static method in class org.rostore.mapper.BinaryMapper
 

E

EOL_FOREVER - Static variable in class org.rostore.Utils
 
eol2ttl(long) - Static method in class org.rostore.Utils
 
eol2unix(long) - Static method in class org.rostore.Utils
 

G

getApiKeyPermissions() - Method in class org.rostore.entity.apikey.ApiKeyDefinition
 
getApiVersion() - Method in class org.rostore.entity.media.Version
 
getAutoCloseContainersAfterMillis() - Method in class org.rostore.entity.media.ContainerListProperties
 
getBlockSize() - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Provides the block size
getBytes(String) - Static method in class org.rostore.Utils
 
getBytesPerBlockIndex() - Method in class org.rostore.mapper.MapperProperties
 
getBytesPerBlockOffset() - Method in class org.rostore.mapper.MapperProperties
 
getCleanupIntervalMillis() - Method in class org.rostore.entity.media.ContainerListProperties
 
getCloseUnusedBlocksAfterMillis() - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Provides the time interval in milliseconds after each the unused blocks will be removed from the memory.
getCloseUnusedSequencesAfterMillis() - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Gets the time interval in milliseconds after each the unused block sequences will be removed from the memory.
getContainerListProperties() - Method in class org.rostore.entity.media.RoStoreProperties
 
getContainerPermissions() - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
getContainerPermissions(String) - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
getCreationTime() - Method in class org.rostore.entity.media.ContainerMeta
 
getCreationTime() - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
getKey() - Method in class org.rostore.entity.apikey.ApiKeyDefinition
 
getLastUpdate() - Method in class org.rostore.entity.apikey.ApiKeyDefinition
 
getMaxCleanupsPerCycle() - Method in class org.rostore.entity.media.ContainerListProperties
 
getMaxContainersListSize() - Method in class org.rostore.entity.media.ContainerListProperties
The maximum size in bytes of all container names in the list
getMaxContainersPerList() - Method in class org.rostore.entity.media.ContainerListProperties
The maximum number of containers in the storage
getMaxKeyOperationsPerShard() - Method in class org.rostore.entity.media.ContainerListProperties
The maximum number of key operations that the shard would support in parallel.
getMaxSize() - Method in class org.rostore.entity.media.ContainerMeta
The maximum size of the container.
getMaxSize() - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
getMaxTotalSize() - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Provides the total maximum size of the storage
getMaxTTL() - Method in class org.rostore.entity.media.ContainerMeta
The maximum TTL in seconds that the keys can have in the container.
getMaxTTL() - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
getMediaProperties() - Method in class org.rostore.entity.media.RoStoreProperties
 
getSegmentNumber() - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
getShardNumber() - Method in class org.rostore.entity.media.ContainerMeta
The number of shards the container will have.
getShardNumber() - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
getStorePermissions() - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
GRANT - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to grant permissions

I

ID_UNDEFINED - Static variable in class org.rostore.Utils
 
isExpiredEOL(long) - Static method in class org.rostore.Utils
 
isExpiredEOL(long, long) - Static method in class org.rostore.Utils
 

L

LIST - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to list entries, e.g.
LIST_MAX_CONTAINERS_DEFAULT - Static variable in class org.rostore.entity.media.ContainerListProperties
 
LIST_MAX_SIZE_DEFAULT - Static variable in class org.rostore.entity.media.ContainerListProperties
 

M

MapperProperties - Class in org.rostore.mapper
Class defines the properties of the BinaryMapper that specify the length of the fields depending on the storage internal properties.
MapperProperties() - Constructor for class org.rostore.mapper.MapperProperties
 
MAX_CLEANS_PER_CYCLE_DEFAULT - Static variable in class org.rostore.entity.media.ContainerListProperties
 
MAX_KEY_OPERATIONS_PER_SHARD_DEFAULT - Static variable in class org.rostore.entity.media.ContainerListProperties
Number of opened KeyOperations object for every opened shard
maxTotalSize(long) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the maximum total size of the storage
MediaPropertiesBuilder - Class in org.rostore.entity.media
This one is needed to create MediaProperties.
MediaPropertiesBuilder() - Constructor for class org.rostore.entity.media.MediaPropertiesBuilder
 

O

ONLY_INSERT - Enum constant in enum class org.rostore.entity.media.RecordOption
Should check on the key creation if the key already exist, and if not it should not allow an operation
ONLY_REPLACE - Enum constant in enum class org.rostore.entity.media.RecordOption
Should check if the update operation is executed on the existing key, and if not it should fail
org.rostore - package org.rostore
RoStore base package
org.rostore.entity - package org.rostore.entity
RoStore core entities
org.rostore.entity.apikey - package org.rostore.entity.apikey
General classes used in service and client for api key management.
org.rostore.entity.media - package org.rostore.entity.media
General classes used in service and client for media management
org.rostore.mapper - package org.rostore.mapper
Binary mapper that allows to serialize/deserialize data specific for the instance of rostore.
OVERRIDE_VERSION - Enum constant in enum class org.rostore.entity.media.RecordOption
This one if provided should circumvent the version-check and rewrite the version even if not correct

P

parse(String) - Static method in enum class org.rostore.entity.media.RecordOption
Parses the comma-separated set of RecordOption
Permission - Enum Class in org.rostore.entity.apikey
A permission

R

READ - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to read value
readLength(InputStream) - Static method in class org.rostore.mapper.BinaryMapper
 
readString(InputStream) - Static method in class org.rostore.mapper.BinaryMapper
 
RecordOption - Enum Class in org.rostore.entity.media
Specify behaviour of the system when update or creation of key-value happens.
RoStoreProperties - Class in org.rostore.entity.media
RoStore storage properties.
RoStoreProperties() - Constructor for class org.rostore.entity.media.RoStoreProperties
 

S

serialize(MapperProperties, T, OutputStream) - Static method in class org.rostore.mapper.BinaryMapper
 
serialize(MapperProperties, T, Type, OutputStream) - Static method in class org.rostore.mapper.BinaryMapper
 
setApiVersion(String) - Method in class org.rostore.entity.media.Version
 
setAutoCloseContainersAfterMillis(long) - Method in class org.rostore.entity.media.ContainerListProperties
 
setBlockSize(int) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the block size that will be used by the storage
setBytesPerBlockIndex(int) - Method in class org.rostore.mapper.MapperProperties
 
setBytesPerBlockOffset(int) - Method in class org.rostore.mapper.MapperProperties
 
setCleanupIntervalMillis(long) - Method in class org.rostore.entity.media.ContainerListProperties
 
setCloseUnusedBlocksAfterMillis(long) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the time interval in milliseconds after each the unused blocks will be removed from the memory.
setCloseUnusedSequencesAfterMillis(long) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the time interval in milliseconds after each the unused block sequences will be removed from the memory.
setContainerListProperties(ContainerListProperties) - Method in class org.rostore.entity.media.RoStoreProperties
 
setContainerPermissions(String, Set<Permission>) - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
setContainerPermissions(Map<String, Set<Permission>>) - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
setCreationTime(long) - Method in class org.rostore.entity.media.ContainerMeta
 
setCreationTime(long) - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
setMaxCleanupsPerCycle(int) - Method in class org.rostore.entity.media.ContainerListProperties
 
setMaxContainersListSize(long) - Method in class org.rostore.entity.media.ContainerListProperties
Sets the maximum size in bytes of all container names in the list
setMaxContainersPerList(int) - Method in class org.rostore.entity.media.ContainerListProperties
Sets the maximum number of containers in the storage.
setMaxKeyOperationsPerShard(int) - Method in class org.rostore.entity.media.ContainerListProperties
Sets the number of parallel operations per shard.
setMaxSize(long) - Method in class org.rostore.entity.media.ContainerMeta
Sets the maximum size of the container.
setMaxSize(long) - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
setMaxTotalSize(long) - Method in class org.rostore.entity.media.MediaPropertiesBuilder
Sets the maximum total size of the storage
setMaxTTL(long) - Method in class org.rostore.entity.media.ContainerMeta
Sets maximum TTL of the container key
setMaxTTL(long) - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
setMediaProperties(MediaPropertiesBuilder) - Method in class org.rostore.entity.media.RoStoreProperties
 
setSegmentNumber(int) - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
setShardNumber(int) - Method in class org.rostore.entity.media.ContainerMeta
Sets the number of shards the container will have.
setShardNumber(int) - Method in class org.rostore.entity.media.ContainerMetaCompatibility
 
setStorePermissions(Set<Permission>) - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
SUPER - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to manage rostore instance in any form

T

toString() - Method in class org.rostore.entity.apikey.ApiKeyDefinition
 
toString() - Method in class org.rostore.entity.apikey.ApiKeyPermissions
 
trimByBytes(long, int) - Static method in class org.rostore.Utils
 
TTL_EXPIRED - Static variable in class org.rostore.Utils
 
TTL_FOREVER - Static variable in class org.rostore.Utils
 
ttl2eol(long) - Static method in class org.rostore.Utils
Converts the time-to-live to end-of-live time
ttl2unixEol(long) - Static method in class org.rostore.Utils
 

U

unixEol2eol(long) - Static method in class org.rostore.Utils
 
UTF_8 - Static variable in class org.rostore.Utils
 
Utils - Class in org.rostore
General functions and constants used in rostore modules.
Utils() - Constructor for class org.rostore.Utils
 

V

valueOf(String) - Static method in enum class org.rostore.entity.apikey.Permission
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.rostore.entity.media.RecordOption
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.rostore.entity.apikey.Permission
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.rostore.entity.media.RecordOption
Returns an array containing the constants of this enum class, in the order they are declared.
Version - Class in org.rostore.entity.media
Represents information about the version of the rostore instance.
Version() - Constructor for class org.rostore.entity.media.Version
 
Version(String) - Constructor for class org.rostore.entity.media.Version
 
VERSION_START - Static variable in class org.rostore.Utils
 
VERSION_UNDEFINED - Static variable in class org.rostore.Utils
 

W

write(OutputStream, String) - Static method in class org.rostore.mapper.BinaryMapper
 
WRITE - Enum constant in enum class org.rostore.entity.apikey.Permission
Permission to write data to the container or storage
writeLength(OutputStream, int) - Static method in class org.rostore.mapper.BinaryMapper
 
A B C D E G I L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values