ProcessedPartitionRepository.java
Home
/
dao /
src /
main /
java /
org /
thingsboard /
server /
dao /
queue /
db /
repository /
ProcessedPartitionRepository.java
package org.thingsboard.server.dao.queue.db.repository;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.Optional;
import java.util.UUID;
public interface ProcessedPartitionRepository {
ListenableFuture<Void> partitionProcessed(UUID nodeId, long clusteredHash, long partition);
Optional<Long> findLastProcessedPartition(UUID nodeId, long clusteredHash);
}