- java.lang.Object
-
- com.pervasive.datarush.cal.StorageBucket
-
public final class StorageBucket extends Object
Convenient pairing ofStorageBucketId
and 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 StorageBucketId
getBucketId()
StorageManager
getManager()
Path
getMyStorageLocation(NodeAllocationPlan.AssignmentPlan partitionInfo)
NodeAllocationPlan
getNodeAllocationPlan()
List<Path>
getWorkerStorageLocations(int maxParallelism)
StorageBucket
subBucket(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()
-
-