InMemoryCheckpointManager Class
- java.
lang. Object - ICheckpointManager
- com.
microsoft. azure. eventprocessorhost. InMemoryCheckpointManager
- com.
public class InMemoryCheckpointManager implements ICheckpointManager
Constructor Summary
Constructor | Description | |
---|---|---|
InMemoryCheckpointManager() |
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> | checkpointStoreExists() |
CompletableFuture<Void> | createAllCheckpointsIfNotExists(List<String> partitionIds) |
CompletableFuture<Void> | createCheckpointStoreIfNotExists() |
CompletableFuture<Void> | deleteCheckpoint(String partitionId) |
CompletableFuture<Void> |
deleteCheckpointStore()
Deletes the checkpoint store. |
CompletableFuture<Checkpoint> | getCheckpoint(String partitionId) |
void | initialize(HostContext hostContext) |
CompletableFuture<Void> | updateCheckpoint(CompleteLease lease, Checkpoint checkpoint) |
Constructor Details
InMemoryCheckpointManager
public InMemoryCheckpointManager()
Method Details
checkpointStoreExists
public CompletableFuture
Overrides:
InMemoryCheckpointManager.checkpointStoreExists()createAllCheckpointsIfNotExists
public CompletableFuture
Overrides:
InMemoryCheckpointManager.createAllCheckpointsIfNotExists(List<String> partitionIds)Parameters:
createCheckpointStoreIfNotExists
public CompletableFuture
Overrides:
InMemoryCheckpointManager.createCheckpointStoreIfNotExists()deleteCheckpoint
public CompletableFuture
Overrides:
InMemoryCheckpointManager.deleteCheckpoint(String partitionId)Parameters:
deleteCheckpointStore
public CompletableFuture
Deletes the checkpoint store.
Overrides:
InMemoryCheckpointManager.deleteCheckpointStore()Returns:
getCheckpoint
public CompletableFuture
Overrides:
InMemoryCheckpointManager.getCheckpoint(String partitionId)Parameters:
initialize
public void initialize(HostContext hostContext)
Parameters:
updateCheckpoint
public CompletableFuture
Overrides:
InMemoryCheckpointManager.updateCheckpoint(CompleteLease lease, Checkpoint checkpoint)Parameters:
Applies to
Azure SDK for Java