com.atlassian.confluence.cluster.hazelcast
Class HazelcastClusteredFifoBuffer<T>
java.lang.Object
com.atlassian.confluence.cluster.hazelcast.HazelcastClusteredFifoBuffer<T>
- All Implemented Interfaces:
- com.atlassian.core.task.FifoBuffer<T>
public class HazelcastClusteredFifoBuffer<T>
- extends Object
- implements com.atlassian.core.task.FifoBuffer<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HazelcastClusteredFifoBuffer
public HazelcastClusteredFifoBuffer(com.hazelcast.core.IQueue<T> queue)
remove
public T remove()
- Specified by:
remove in interface com.atlassian.core.task.FifoBuffer<T>
add
public void add(T o)
- Specified by:
add in interface com.atlassian.core.task.FifoBuffer<T>
size
public int size()
- Specified by:
size in interface com.atlassian.core.task.FifoBuffer<T>
getItems
public Collection<T> getItems()
- Specified by:
getItems in interface com.atlassian.core.task.FifoBuffer<T>
clear
public void clear()
- Specified by:
clear in interface com.atlassian.core.task.FifoBuffer<T>
Copyright © 2003–2015 Atlassian. All rights reserved.