Package | Description |
---|---|
com.hazelcast.ringbuffer |
Contains the API for the
Ringbuffer . |
com.hazelcast.ringbuffer.impl |
Contains the
Ringbuffer implementation classes. |
com.hazelcast.ringbuffer.impl.operations |
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 |
---|---|
ICompletableFuture<Long> |
Ringbuffer.addAllAsync(Collection<? extends E> collection,
OverflowPolicy overflowPolicy)
Adds all the items of a collection to the tail of the Ringbuffer.
|
ICompletableFuture<Long> |
Ringbuffer.addAsync(E item,
OverflowPolicy overflowPolicy)
Asynchronously writes an item with a configurable
OverflowPolicy . |
Modifier and Type | Method and Description |
---|---|
ICompletableFuture<Long> |
RingbufferProxy.addAllAsync(Collection<? extends E> collection,
OverflowPolicy overflowPolicy) |
ICompletableFuture<Long> |
RingbufferProxy.addAsync(E item,
OverflowPolicy overflowPolicy) |
Constructor and Description |
---|
AddAllOperation(String name,
Data[] items,
OverflowPolicy overflowPolicy) |
AddOperation(String name,
Data item,
OverflowPolicy overflowPolicy) |
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.