ehcache

net.sf.ehcache.constructs.nonstop.concurrency
Class CacheOperationUnderExplicitLockCallable<V>

java.lang.Object
  extended by net.sf.ehcache.constructs.nonstop.concurrency.CacheOperationUnderExplicitLockCallable<V>
Type Parameters:
V -
All Implemented Interfaces:
Callable<V>

public class CacheOperationUnderExplicitLockCallable<V>
extends Object
implements Callable<V>

Callable used with nonstop when explicit lock has been acquired

Author:
Abhishek Sanoujam

Constructor Summary
CacheOperationUnderExplicitLockCallable(net.sf.ehcache.constructs.nonstop.concurrency.ExplicitLockingContext currentThreadLockContext, NonstopConfiguration nonstopConfiguration, Callable<V> callable)
          public constructor
 
Method Summary
 V call()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheOperationUnderExplicitLockCallable

public CacheOperationUnderExplicitLockCallable(net.sf.ehcache.constructs.nonstop.concurrency.ExplicitLockingContext currentThreadLockContext,
                                               NonstopConfiguration nonstopConfiguration,
                                               Callable<V> callable)
public constructor

Parameters:
currentThreadLockContext -
nonstopConfiguration -
callable -
Method Detail

call

public V call()
       throws Exception

Specified by:
call in interface Callable<V>
Throws:
Exception

ehcache

Copyright © 2003-2014 Terracotta, Inc.. All Rights Reserved.