Package org.rostore.v2.container
Class ContainerDescriptor
java.lang.Object
org.rostore.v2.container.ContainerDescriptor
This class is created on the container creation event and should be stored in the
container list, so it can be reopened again.
It contains all the information about he container internal structure, as well as the metadata provided at the creation phase.
This class is persisted and should only be changed only on the new storages, as it would change the persistence structure.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe metadata provided at the container creationA list of shard descriptors, containing initialization data for every shardvoid
setContainerMeta
(ContainerMeta containerMeta)
-
Constructor Details
-
ContainerDescriptor
-
ContainerDescriptor
public ContainerDescriptor()Needed for the load
-
-
Method Details
-
getContainerMeta
The metadata provided at the container creation- Returns:
- the metadata of the container
-
setContainerMeta
-
getShardDescriptors
A list of shard descriptors, containing initialization data for every shard- Returns:
- a list of shard descriptors
-