## Uses of Class
com.hazelcast.ringbuffer.OverflowPolicy

- Packages that use OverflowPolicy
  Package | Description
  --- | ---
  com.hazelcast.client.proxy | This package contains client side proxy implementations of the different Hazelcast data structures and operation types
  com.hazelcast.ringbuffer | Contains the API for the `Ringbuffer`.

- - ### Uses of OverflowPolicy in com.hazelcast.client.proxy

    Methods in com.hazelcast.client.proxy with parameters of type OverflowPolicy
    Modifier and Type | Method and Description
    --- | ---
    `ICompletableFuture<Long>` | ClientRingbufferProxy.`addAllAsync(Collection<? extends E> collection, OverflowPolicy overflowPolicy)`
    `ICompletableFuture<Long>` | ClientRingbufferProxy.`addAsync(E item, OverflowPolicy overflowPolicy)`

  - ### Uses of OverflowPolicy in com.hazelcast.ringbuffer

    Methods in com.hazelcast.ringbuffer that return OverflowPolicy
    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.

    Methods in com.hazelcast.ringbuffer with parameters of type OverflowPolicy
    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`.

Copyright © 2020. All rights reserved.