final long initVal, final boolean create) throws IgniteCheckedException { return getAtomic(new AtomicAccessor<GridCacheAtomicLongEx>() { @Override public T2<GridCacheAtomicLongEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
throws IgniteCheckedException return getAtomic(new AtomicAccessor<GridCacheAtomicReferenceEx>() { @Override public T2<GridCacheAtomicReferenceEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
public final <T, S> IgniteAtomicStamped<T, S> atomicStamped(final String name, @Nullable AtomicConfiguration cfg, final T initVal, final S initStamp, final boolean create) throws IgniteCheckedException { return getAtomic(new AtomicAccessor<GridCacheAtomicStampedEx>() { @Override public T2<GridCacheAtomicStampedEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
return getAtomic(new AtomicAccessor<GridCacheLockEx>() { @Override public T2<GridCacheLockEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
final boolean failoverSafe, final boolean create) throws IgniteCheckedException { return getAtomic(new AtomicAccessor<GridCacheSemaphoreEx>() { @Override public T2<GridCacheSemaphoreEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
throws IgniteCheckedException return getAtomic(new AtomicAccessor<GridCacheAtomicSequenceEx>() { @Override public T2<GridCacheAtomicSequenceEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
A.ensure(cnt >= 0, "count can not be negative"); return getAtomic(new AtomicAccessor<GridCacheCountDownLatchEx>() { @Override public T2<GridCacheCountDownLatchEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
final long initVal, final boolean create) throws IgniteCheckedException { return getAtomic(new AtomicAccessor<GridCacheAtomicLongEx>() { @Override public T2<GridCacheAtomicLongEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
return getAtomic(new AtomicAccessor<GridCacheLockEx>() { @Override public T2<GridCacheLockEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
throws IgniteCheckedException return getAtomic(new AtomicAccessor<GridCacheAtomicReferenceEx>() { @Override public T2<GridCacheAtomicReferenceEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
public final <T, S> IgniteAtomicStamped<T, S> atomicStamped(final String name, @Nullable AtomicConfiguration cfg, final T initVal, final S initStamp, final boolean create) throws IgniteCheckedException { return getAtomic(new AtomicAccessor<GridCacheAtomicStampedEx>() { @Override public T2<GridCacheAtomicStampedEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
throws IgniteCheckedException return getAtomic(new AtomicAccessor<GridCacheAtomicSequenceEx>() { @Override public T2<GridCacheAtomicSequenceEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
final boolean failoverSafe, final boolean create) throws IgniteCheckedException { return getAtomic(new AtomicAccessor<GridCacheSemaphoreEx>() { @Override public T2<GridCacheSemaphoreEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {
A.ensure(cnt >= 0, "count can not be negative"); return getAtomic(new AtomicAccessor<GridCacheCountDownLatchEx>() { @Override public T2<GridCacheCountDownLatchEx, AtomicDataStructureValue> get(GridCacheInternalKey key, AtomicDataStructureValue val, IgniteInternalCache cache) throws IgniteCheckedException {