regionQueue
Class ServerQueue.QueueLoader

java.lang.Object
  extended by regionQueue.ServerQueue.QueueLoader
All Implemented Interfaces:
CacheCallback, CacheLoader
Enclosing class:
ServerQueue

 class ServerQueue.QueueLoader
extends Object
implements CacheLoader

A CacheLoader that perform some "get"-related operation on the RegionQueue. The operation is specified by the argument passed to Region.get(Object).

See Also:
LoaderHelper.getArgument()

Constructor Summary
ServerQueue.QueueLoader()
           
 
Method Summary
 void close()
           
 Object load(LoaderHelper helper)
          Remove the element at the head of the queue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerQueue.QueueLoader

ServerQueue.QueueLoader()
Method Detail

load

public Object load(LoaderHelper helper)
            throws CacheLoaderException
Remove the element at the head of the queue

Specified by:
load in interface CacheLoader
Throws:
CacheLoaderException

close

public void close()
Specified by:
close in interface CacheCallback


Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.