Package io.zeebe.hazelcast.connect.java
Class ZeebeHazelcast
java.lang.Object
io.zeebe.hazelcast.connect.java.ZeebeHazelcast
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Stop reading from the ringbuffer.longReturns the current sequence.booleanisClosed()static ZeebeHazelcast.BuildernewBuilder(com.hazelcast.core.HazelcastInstance hazelcastInstance) Returns a new builder to read from the ringbuffer.
-
Method Details
-
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
Stop reading from the ringbuffer.- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
getSequence
public long getSequence()Returns the current sequence.
-