public interface SlotAllocationSnapshotPersistenceService
SlotAllocationSnapshot.| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllocationSnapshot(int slotIndex)
Delete the slot allocation snapshot identified by the slot index.
|
Collection<SlotAllocationSnapshot> |
loadAllocationSnapshots()
Load all persisted slot allocation snapshots.
|
void |
persistAllocationSnapshot(SlotAllocationSnapshot slotAllocationSnapshot)
Persist the given slot allocation snapshot.
|
void persistAllocationSnapshot(SlotAllocationSnapshot slotAllocationSnapshot) throws IOException
slotAllocationSnapshot - slot allocation snapshot to persistIOException - if the slot allocation snapshot cannot be persistedvoid deleteAllocationSnapshot(int slotIndex)
slotIndex - identifying the slot allocation snapshot to deleteCollection<SlotAllocationSnapshot> loadAllocationSnapshots()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.