Uses of Class
com.hazelcast.ringbuffer.OverflowPolicy
Package | Description |
---|---|
com.hazelcast.ringbuffer |
Contains the API for the
Ringbuffer . |
-
Uses of OverflowPolicy in com.hazelcast.ringbuffer
Methods in com.hazelcast.ringbuffer that return OverflowPolicy Modifier and Type Method Description static OverflowPolicy
OverflowPolicy. getById(int id)
Returns the OverflowPolicy for the given ID.static OverflowPolicy
OverflowPolicy. valueOf(String name)
Returns the enum constant of this type with the specified name.static OverflowPolicy[]
OverflowPolicy. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.hazelcast.ringbuffer with parameters of type OverflowPolicy Modifier and Type Method Description CompletionStage<Long>
Ringbuffer. addAllAsync(Collection<? extends E> collection, OverflowPolicy overflowPolicy)
Adds all the items of a collection to the tail of the Ringbuffer.CompletionStage<Long>
Ringbuffer. addAsync(E item, OverflowPolicy overflowPolicy)
Asynchronously writes an item with a configurableOverflowPolicy
.