railo.runtime.cache
Class CacheConnectionImpl

java.lang.Object
  extended by railo.runtime.cache.CacheConnectionImpl
All Implemented Interfaces:
CacheConnection

public class CacheConnectionImpl
extends Object
implements CacheConnection


Constructor Summary
CacheConnectionImpl(Config config, String name, Class clazz, Struct custom, boolean readOnly, boolean storage)
           
 
Method Summary
 CacheConnection duplicate(Config config)
           
 Class getClazz()
           
 Struct getCustom()
           
 Cache getInstance(Config config)
           
 String getName()
           
 boolean isReadOnly()
           
 boolean isStorage()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheConnectionImpl

public CacheConnectionImpl(Config config,
                           String name,
                           Class clazz,
                           Struct custom,
                           boolean readOnly,
                           boolean storage)
                    throws CacheException
Throws:
CacheException
Method Detail

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