Package org.apache.jcs.auxiliary.remote.behavior

Examples of org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheAttributes


     *
     * @return The cache value
     */
    public AuxiliaryCache getCache( String cacheName )
    {
        IRemoteCacheAttributes ca = ( IRemoteCacheAttributes ) irca.copy();
        ca.setCacheName( cacheName );
        return getCache( ca );
    }
View Full Code Here


     *
     * @return The cache value
     */
    public ICache getCache( String cacheName )
    {
        IRemoteCacheAttributes ca = ( IRemoteCacheAttributes ) irca.copy();
        ca.setCacheName( cacheName );
        return getCache( ca );
    }
View Full Code Here

     * @throws Exception
     */
    public void testUpdate()
        throws Exception
    {
        IRemoteCacheAttributes irca = new RemoteCacheAttributes();
        irca.setRemoveUponRemotePut( false );
        ICompositeCacheManager cacheMgr = new CompositeCacheManagerMockImpl();
        RemoteCacheListener listener = new RemoteCacheListener( irca, cacheMgr );

        String cacheName = "testName";
        String key = "key";
View Full Code Here

     * @throws Exception
     */
    public void testUpdate_RemoveOnPut()
        throws Exception
    {
        IRemoteCacheAttributes irca = new RemoteCacheAttributes();
        irca.setRemoveUponRemotePut( true );
        ICompositeCacheManager cacheMgr = new CompositeCacheManagerMockImpl();
        RemoteCacheListener listener = new RemoteCacheListener( irca, cacheMgr );

        String cacheName = "testName";
        String key = "key";
View Full Code Here

     */
    public void testUpdate()
        throws Exception
    {
        // SETUP
        IRemoteCacheAttributes cattr = new RemoteCacheAttributes();
        RemoteCacheServiceMockImpl service = new RemoteCacheServiceMockImpl();
        RemoteCacheListenerMockImpl listener = new RemoteCacheListenerMockImpl();

        RemoteCache remoteCache = new RemoteCache( cattr, service, listener );

View Full Code Here

     */
    public void testUpdateZombieThenFix()
        throws Exception
    {
        // SETUP
        IRemoteCacheAttributes cattr = new RemoteCacheAttributes();
        ZombieRemoteCacheService zombie = new ZombieRemoteCacheService( 10 );
        RemoteCacheServiceMockImpl service = new RemoteCacheServiceMockImpl();
        RemoteCacheListenerMockImpl listener = new RemoteCacheListenerMockImpl();

        // set the zombir
View Full Code Here

     * @param cacheName
     * @return The cache value
     */
    public AuxiliaryCache getCache( String cacheName )
    {
        IRemoteCacheAttributes ca = (IRemoteCacheAttributes) irca.copy();
        ca.setCacheName( cacheName );
        return getCache( ca );
    }
View Full Code Here

TOP

Related Classes of org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheAttributes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.