org.infinispan.server.websocket
Class CacheListener

java.lang.Object
  extended by org.infinispan.server.websocket.CacheListener

public class CacheListener
extends Object

Cache listener.

Used to notify websocket clients of cache entry updates.

Author:
tom.fennelly@gmail.com

Nested Class Summary
static class CacheListener.ChannelNotifyParams
           
 
Constructor Summary
CacheListener()
           
 
Method Summary
 void addChannel(CacheListener.ChannelNotifyParams channel)
           
 void cacheEntryCreated(CacheEntryCreatedEvent event)
           
 void cacheEntryModified(CacheEntryModifiedEvent event)
           
 void cacheEntryRemoved(CacheEntryRemovedEvent event)
           
 void removeChannel(CacheListener.ChannelNotifyParams channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheListener

public CacheListener()
Method Detail

cacheEntryCreated

public void cacheEntryCreated(CacheEntryCreatedEvent event)

cacheEntryModified

public void cacheEntryModified(CacheEntryModifiedEvent event)

cacheEntryRemoved

public void cacheEntryRemoved(CacheEntryRemovedEvent event)

addChannel

public void addChannel(CacheListener.ChannelNotifyParams channel)

removeChannel

public void removeChannel(CacheListener.ChannelNotifyParams channel)

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.