Class CassandraTopologyMonitor


  • public class CassandraTopologyMonitor
    extends java.lang.Object
    A monitor that check whether the cassandra topology has changed. On topology change, the write produced by the job is no longer accurate. It should fail as soon as change is detected.
    • Constructor Detail

      • CassandraTopologyMonitor

        public CassandraTopologyMonitor​(ClusterInfo clusterInfo,
                                        java.util.function.Consumer<CancelJobEvent> onCancelJob)
    • Method Detail

      • shutdownNow

        public void shutdownNow()
        Attempts to stop all tasks; we do not wait here as it is only called on job termination