Package | Description |
---|---|
com.hazelcast.ringbuffer |
Contains the API for the
Ringbuffer . |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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 configurable
OverflowPolicy . |
Copyright © 2024 Hazelcast, Inc.. All rights reserved.