Class LogDeletionService
java.lang.Object
io.camunda.zeebe.scheduler.Actor
io.camunda.zeebe.broker.logstreams.LogDeletionService
- All Implemented Interfaces:
AsyncClosable,ConcurrencyControl,PersistedSnapshotListener,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class io.camunda.zeebe.scheduler.Actor
Actor.ActorBuilder -
Field Summary
Fields inherited from class io.camunda.zeebe.scheduler.Actor
actor, ACTOR_PROP_NAME, ACTOR_PROP_PARTITION_ID -
Constructor Summary
ConstructorsConstructorDescriptionLogDeletionService(int nodeId, int partitionId, LogCompactor logCompactor, PersistedSnapshotStore persistedSnapshotStore) -
Method Summary
Modifier and TypeMethodDescriptiongetName()protected voidprotected voidvoidonNewSnapshot(PersistedSnapshot newPersistedSnapshot) Methods inherited from class io.camunda.zeebe.scheduler.Actor
buildActorName, buildActorName, close, closeAsync, getContext, handleFailure, isActorClosed, newActor, onActorClosed, onActorCloseRequested, onActorFailed, onActorStarted, run, runOnCompletion, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.scheduler.ConcurrencyControl
createCompletedFuture, createFuture
-
Constructor Details
-
LogDeletionService
public LogDeletionService(int nodeId, int partitionId, LogCompactor logCompactor, PersistedSnapshotStore persistedSnapshotStore)
-
-
Method Details
-
createContext
- Overrides:
createContextin classActor
-
getName
-
onActorStarting
protected void onActorStarting()- Overrides:
onActorStartingin classActor
-
onActorClosing
protected void onActorClosing()- Overrides:
onActorClosingin classActor
-
onNewSnapshot
- Specified by:
onNewSnapshotin interfacePersistedSnapshotListener
-