Groovy Documentation

griffon.plugins.bigcache
[Groovy] Class BigcacheConnector

java.lang.Object
  griffon.plugins.bigcache.BigcacheConnector
All Implemented Interfaces:
BigcacheProvider

@Singleton
final class BigcacheConnector
extends Object

Authors:
Andres Almiray


Field Summary
private static org.slf4j.Logger LOG

private def bootstrap

 
Constructor Summary
BigcacheConnector()

 
Method Summary
org.bigcache.BigCacheManager connect(GriffonApplication app, ConfigObject config, String bigcacheManagerName = 'default')

ConfigObject createConfig(GriffonApplication app)

void disconnect(GriffonApplication app, ConfigObject config, String bigcacheManagerName = 'default')

private ConfigObject narrowConfig(ConfigObject config, String bigcacheManagerName)

private org.bigcache.BigCacheManager startBigcache(String bigcacheManagerName, ConfigObject config)

private void stopBigcache(ConfigObject config, org.bigcache.BigCacheManager bigcacheManager)

Object withBigcache(String bigcacheManagerName = 'default', Closure closure)

Object withBigcache(String bigcacheManagerName = 'default', CallableWithArgs callable)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

LOG

private static final org.slf4j.Logger LOG


bootstrap

private def bootstrap


 
Constructor Detail

BigcacheConnector

BigcacheConnector()


 
Method Detail

connect

org.bigcache.BigCacheManager connect(GriffonApplication app, ConfigObject config, String bigcacheManagerName = 'default')


createConfig

ConfigObject createConfig(GriffonApplication app)


disconnect

void disconnect(GriffonApplication app, ConfigObject config, String bigcacheManagerName = 'default')


narrowConfig

private ConfigObject narrowConfig(ConfigObject config, String bigcacheManagerName)


startBigcache

private org.bigcache.BigCacheManager startBigcache(String bigcacheManagerName, ConfigObject config)


stopBigcache

private void stopBigcache(ConfigObject config, org.bigcache.BigCacheManager bigcacheManager)


withBigcache

Object withBigcache(String bigcacheManagerName = 'default', Closure closure)


withBigcache

Object withBigcache(String bigcacheManagerName = 'default', CallableWithArgs callable)


 

Groovy Documentation