regionQueue
Class ServerQueue.QueueWriter
java.lang.Object
com.gemstone.gemfire.cache.util.CacheWriterAdapter
regionQueue.ServerQueue.QueueWriter
- All Implemented Interfaces:
- CacheCallback, CacheWriter
- Enclosing class:
- ServerQueue
class ServerQueue.QueueWriter
- extends CacheWriterAdapter
A CacheWriter that adds an element to the tail of
the queue.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerQueue.QueueWriter
ServerQueue.QueueWriter()
beforeCreate
public void beforeCreate(EntryEvent event)
throws CacheWriterException
- Do the same work as
beforeUpdate
- Specified by:
beforeCreate in interface CacheWriter- Overrides:
beforeCreate in class CacheWriterAdapter
- Throws:
CacheWriterException
beforeUpdate
public void beforeUpdate(EntryEvent event)
throws CacheWriterException
- Add the new value of the region entry to queue region.
- Specified by:
beforeUpdate in interface CacheWriter- Overrides:
beforeUpdate in class CacheWriterAdapter
- Throws:
CacheWriterException - If the element was not added to the queue. If the
queue was full, then the cause of the exception is
null.
Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.