railo.runtime.cache
Class CacheConnectionImpl
java.lang.Object
railo.runtime.cache.CacheConnectionImpl
- All Implemented Interfaces:
- CacheConnection
public class CacheConnectionImpl
- extends Object
- implements CacheConnection
CacheConnectionImpl
public CacheConnectionImpl(Config config,
String name,
Class clazz,
Struct custom,
boolean readOnly,
boolean storage)
throws CacheException
- Throws:
CacheException
getInstance
public Cache getInstance(Config config)
throws IOException
- Specified by:
getInstance
in interface CacheConnection
- Throws:
IOException
- See Also:
railo.runtime.cache.X#getInstance(railo.runtime.config.ConfigWeb)
getName
public String getName()
- Specified by:
getName
in interface CacheConnection
- Returns:
- the name
- See Also:
railo.runtime.cache.X#getName()
getClazz
public Class getClazz()
- Specified by:
getClazz
in interface CacheConnection
- Returns:
- the clazz
- See Also:
railo.runtime.cache.X#getClazz()
getCustom
public Struct getCustom()
- Specified by:
getCustom
in interface CacheConnection
- Returns:
- the custom
- See Also:
railo.runtime.cache.X#getCustom()
toString
public String toString()
- Overrides:
toString
in class Object
duplicate
public CacheConnection duplicate(Config config)
throws IOException
- Specified by:
duplicate
in interface CacheConnection
- Throws:
IOException
- See Also:
railo.runtime.cache.X#duplicate(railo.runtime.config.Config, boolean)
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interface CacheConnection
- Returns:
- the readOnly
- See Also:
railo.runtime.cache.X#isReadOnly()
isStorage
public boolean isStorage()
- Specified by:
isStorage
in interface CacheConnection
Copyright © 2012 Railo