com.atlassian.confluence.cluster.coherence
Class TangosolClusteredFifoBuffer
java.lang.Object
com.atlassian.confluence.cluster.coherence.TangosolClusteredFifoBuffer
- All Implemented Interfaces:
- com.atlassian.core.task.FifoBuffer
public class TangosolClusteredFifoBuffer
- extends Object
- implements com.atlassian.core.task.FifoBuffer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TangosolClusteredFifoBuffer
public TangosolClusteredFifoBuffer(com.tangosol.net.NamedCache cache)
size
public int size()
- Note that this method will return the number of items currently in the buffer, which is not necessarily
the numbers of items added - number of items removed.
- Specified by:
size
in interface com.atlassian.core.task.FifoBuffer
- Returns:
- the number of items currently stored in the cache
getItems
public Collection<Object> getItems()
- Specified by:
getItems
in interface com.atlassian.core.task.FifoBuffer
clear
public void clear()
- Specified by:
clear
in interface com.atlassian.core.task.FifoBuffer
add
public void add(Object oValue)
- Specified by:
add
in interface com.atlassian.core.task.FifoBuffer
remove
public Object remove()
- Specified by:
remove
in interface com.atlassian.core.task.FifoBuffer
Copyright © 2003-2013 Atlassian. All Rights Reserved.