Class PartitionProcessingState
- java.lang.Object
-
- io.camunda.zeebe.broker.system.partitions.impl.PartitionProcessingState
-
public class PartitionProcessingState extends Object
-
-
Constructor Summary
Constructors Constructor Description PartitionProcessingState(RaftPartition raftPartition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDiskSpaceAvailable()booleanisExportingPaused()booleanisProcessingPaused()booleanpauseExporting()voidpauseProcessing()booleanresumeExporting()Returns true if exporting is resumedvoidresumeProcessing()voidsetDiskSpaceAvailable(boolean diskSpaceAvailable)booleanshouldProcess()
-
-
-
Constructor Detail
-
PartitionProcessingState
public PartitionProcessingState(RaftPartition raftPartition)
-
-
Method Detail
-
isDiskSpaceAvailable
public boolean isDiskSpaceAvailable()
-
setDiskSpaceAvailable
public void setDiskSpaceAvailable(boolean diskSpaceAvailable)
-
isProcessingPaused
public boolean isProcessingPaused()
-
resumeProcessing
public void resumeProcessing() throws IOException- Throws:
IOException
-
pauseProcessing
public void pauseProcessing() throws IOException- Throws:
IOException
-
shouldProcess
public boolean shouldProcess()
-
isExportingPaused
public boolean isExportingPaused()
-
pauseExporting
public boolean pauseExporting() throws IOException- Throws:
IOException
-
resumeExporting
public boolean resumeExporting() throws IOExceptionReturns true if exporting is resumed- Throws:
IOException
-
-