java.lang.Object
com.pervasive.datarush.cal.StoragePlanner
An allocator of
StorageBucketId's. Keeps a count of how many ids have
been allocated. StoragePlanners can be created prior to the StorageManager;
thus overall planning can take place prior to knowing resources available in
the cluster. Each StoragePlanner has a GUID associated with it. This GUID
serves as the base for all ids allocated by this StoragePlanner. Thus ids are
guaranteed to be globally unique across planners.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAllocates a bucket of storage.getGuid()Returns the globally unique identifier for this StoragePlanner.
-
Constructor Details
-
StoragePlanner
public StoragePlanner()
-
-
Method Details
-
allocateBucket
Allocates a bucket of storage.- Returns:
- a bucket of storage
-
getGuid
Returns the globally unique identifier for this StoragePlanner.- Returns:
-