public class TieredStorageResourceRegistry extends Object
Constructor and Description |
---|
TieredStorageResourceRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
clearResourceFor(TieredStorageDataIdentifier owner)
Remove all resources for the given owner.
|
void |
registerResource(TieredStorageDataIdentifier owner,
TieredStorageResource tieredStorageResource)
Register a new resource for the given owner.
|
public void registerResource(TieredStorageDataIdentifier owner, TieredStorageResource tieredStorageResource)
owner
- identifier of the data that the resource corresponds to.tieredStorageResource
- the tiered storage resources to be registered.public void clearResourceFor(TieredStorageDataIdentifier owner)
owner
- identifier of the data that the resources correspond to.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.