public final class StoragePlanner extends Object
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 and Description |
---|
StoragePlanner() |
Modifier and Type | Method and Description |
---|---|
StorageBucketId |
allocateBucket()
Allocates a bucket of storage.
|
GUID |
getGuid()
Returns the globally unique identifier for this StoragePlanner.
|
public StorageBucketId allocateBucket()
public GUID getGuid()
Copyright © 2016 Actian Corporation. All rights reserved.