Package io.zeebe.hazelcast.connect.java
Class ZeebeHazelcast
- java.lang.Object
-
- io.zeebe.hazelcast.connect.java.ZeebeHazelcast
-
- All Implemented Interfaces:
AutoCloseable
public class ZeebeHazelcast extends Object implements AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classZeebeHazelcast.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Stop reading from the ringbuffer.longgetSequence()Returns the current sequence.booleanisClosed()static ZeebeHazelcast.BuildernewBuilder(com.hazelcast.core.HazelcastInstance hazelcastInstance)Returns a new builder to read from the ringbuffer.
-
-
-
Method Detail
-
newBuilder
public static ZeebeHazelcast.Builder newBuilder(com.hazelcast.core.HazelcastInstance hazelcastInstance)
Returns a new builder to read from the ringbuffer.
-
isClosed
public boolean isClosed()
-
close
public void close() throws ExceptionStop reading from the ringbuffer.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
getSequence
public long getSequence()
Returns the current sequence.
-
-