edu.qut.cs.rcmd.common.mongo.cache
Class MongoCacheProxy

java.lang.Object
  extended by edu.qut.cs.rcmd.common.mongo.cache.MongoCacheProxy

public final class MongoCacheProxy
extends Object


Method Summary
static
<T> T
proxy(Class<T> baseInterface, T implementation, Method cachableMethod, com.mongodb.DBCollection dbCollection)
           
static
<T> T
proxy(Class<T> baseInterface, T implementation, Method cachableMethod, com.mongodb.DBCollection dbCollection, com.google.common.base.Function<Object[],String> keyFunction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

proxy

public static <T> T proxy(Class<T> baseInterface,
                          T implementation,
                          Method cachableMethod,
                          com.mongodb.DBCollection dbCollection)

proxy

public static <T> T proxy(Class<T> baseInterface,
                          T implementation,
                          Method cachableMethod,
                          com.mongodb.DBCollection dbCollection,
                          com.google.common.base.Function<Object[],String> keyFunction)


Copyright © 2012. All Rights Reserved.