com.atlassian.confluence.cluster.hazelcast
Class HazelcastClusteredFifoBuffer<T>

java.lang.Object
  extended by com.atlassian.confluence.cluster.hazelcast.HazelcastClusteredFifoBuffer<T>
All Implemented Interfaces:
com.atlassian.core.task.FifoBuffer<T>

public class HazelcastClusteredFifoBuffer<T>
extends java.lang.Object
implements com.atlassian.core.task.FifoBuffer<T>


Constructor Summary
HazelcastClusteredFifoBuffer(com.hazelcast.core.IQueue<T> queue)
           
 
Method Summary
 void add(T o)
           
 void clear()
           
 java.util.Collection<T> getItems()
           
 T remove()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HazelcastClusteredFifoBuffer

public HazelcastClusteredFifoBuffer(com.hazelcast.core.IQueue<T> queue)
Method Detail

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 java.util.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-2014 Atlassian. All Rights Reserved.