public final class FileBasedSPSCQueueMemoryMapped<T> extends Object implements QueueWithSubscription<T>
Constructor and Description |
---|
FileBasedSPSCQueueMemoryMapped(rx.functions.Func0<File> factory,
int size,
DataSerializer<T> serializer) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
T |
element() |
boolean |
isEmpty() |
boolean |
isUnsubscribed() |
Iterator<T> |
iterator() |
boolean |
offer(T t) |
T |
peek() |
T |
poll() |
T |
remove() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
void |
unsubscribe() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public FileBasedSPSCQueueMemoryMapped(rx.functions.Func0<File> factory, int size, DataSerializer<T> serializer)
public void unsubscribe()
unsubscribe
in interface rx.Subscription
public boolean isUnsubscribed()
isUnsubscribed
in interface rx.Subscription
public int size()
size
in interface Collection<T>
public boolean isEmpty()
isEmpty
in interface Collection<T>
public boolean contains(Object o)
contains
in interface Collection<T>
public Object[] toArray()
toArray
in interface Collection<T>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<T>
public boolean remove(Object o)
remove
in interface Collection<T>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<T>
public void clear()
clear
in interface Collection<T>
public boolean add(T e)
Copyright © 2013–2016. All rights reserved.