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
getName
public String getName()
- Specified by:
getName
in interface CacheConnection
- Returns:
- the name
getClazz
public Class getClazz()
- Specified by:
getClazz
in interface CacheConnection
- Returns:
- the clazz
getCustom
public Struct getCustom()
- Specified by:
getCustom
in interface CacheConnection
- Returns:
- the custom
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
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interface CacheConnection
- Returns:
- the readOnly
isStorage
public boolean isStorage()
- Specified by:
isStorage
in interface CacheConnection
Copyright © 2012 Railo