org.castor.cache.distributed

Class CoherenceCache

public final class CoherenceCache extends AbstractDistributedCache

Tangosol Coherence implementation of Castor JDO Cache. For more details of Coherence, see http://www.tangosol.com/coherence.jsp

Since: 1.0

Version: $Revision: 6230 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $

Author: Tim Telcik Werner Guttmann Ralf Joachim

See Also: Coherence Overview

Field Summary
static StringIMPLEMENTATION
The classname of the implementations factory class.
static StringTYPE
The type of the cache.
Method Summary
voidclose()
StringgetType()
voidinitialize(Properties params)
voidinitialize(String implementation, Properties params)
Normally called to initialize CoherenceCache.

Field Detail

IMPLEMENTATION

public static final String IMPLEMENTATION
The classname of the implementations factory class.

TYPE

public static final String TYPE
The type of the cache.

Method Detail

close

public void close()
{@inheritDoc }

See Also: close

getType

public String getType()
{@inheritDoc }

See Also: getType

initialize

public void initialize(Properties params)
{@inheritDoc }

See Also: initialize

initialize

public void initialize(String implementation, Properties params)
Normally called to initialize CoherenceCache. To be able to test the method without having com.tangosol.net.CacheFactory implementation, it can also be called with a test implementations classname.

Parameters: implementation Cache implementation classname to initialize. params Parameters to initialize the cache (e.g. name, capacity).

Throws: CacheAcquireException If cache can not be initialized.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com