- java.lang.Object
-
- com.pervasive.datarush.cal.StorageBucket
-
public final class StorageBucket extends Object
Convenient pairing ofStorageBucketIdand it's associatedStorageManager.
-
-
Constructor Summary
Constructors Constructor Description StorageBucket(StorageManager manager, StorageBucketId bucketId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageBucketIdgetBucketId()StorageManagergetManager()PathgetMyStorageLocation(NodeAllocationPlan.AssignmentPlan partitionInfo)NodeAllocationPlangetNodeAllocationPlan()List<Path>getWorkerStorageLocations(int maxParallelism)StorageBucketsubBucket(int childNumber)
-
-
-
Constructor Detail
-
StorageBucket
public StorageBucket(StorageManager manager, StorageBucketId bucketId)
-
-
Method Detail
-
subBucket
public StorageBucket subBucket(int childNumber)
-
getMyStorageLocation
public Path getMyStorageLocation(NodeAllocationPlan.AssignmentPlan partitionInfo)
-
getBucketId
public StorageBucketId getBucketId()
-
getManager
public StorageManager getManager()
-
getNodeAllocationPlan
public NodeAllocationPlan getNodeAllocationPlan()
-
-