Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database.querycache
Class ClusteredPutGetRemoveStrategy

java.lang.Object
  extended by com.jivesoftware.forum.database.querycache.ClusteredPutGetRemoveStrategy
All Implemented Interfaces:
QueryCache.PutGetRemoveStrategy

public class ClusteredPutGetRemoveStrategy
extends java.lang.Object
implements QueryCache.PutGetRemoveStrategy

Implements put get and remove operations for QueryCache when clustering is enabled. The underlying cache is an instance of ClusteredCache, which allows access to tangosol's node affinity, invocable agent, indexing, and filtering mechanisms. These are used in combination to supported efficient bulk removal of cache entries in a distributed environment.


Constructor Summary
ClusteredPutGetRemoveStrategy(ClusteredCache clusteredCache)
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 void remove(int objectType, long objectID)
           
 java.lang.Object remove(java.lang.Object key)
           
 void removeUsers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredPutGetRemoveStrategy

public ClusteredPutGetRemoveStrategy(ClusteredCache clusteredCache)
Method Detail

get

public java.lang.Object get(java.lang.Object key)
Specified by:
get in interface QueryCache.PutGetRemoveStrategy

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Specified by:
put in interface QueryCache.PutGetRemoveStrategy

remove

public java.lang.Object remove(java.lang.Object key)
Specified by:
remove in interface QueryCache.PutGetRemoveStrategy

remove

public void remove(int objectType,
                   long objectID)
Specified by:
remove in interface QueryCache.PutGetRemoveStrategy

removeUsers

public void removeUsers()
Specified by:
removeUsers in interface QueryCache.PutGetRemoveStrategy

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.