public class TransactionAwareCloseableIterable<K,V,C> extends Object implements org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>>
Modifier and Type | Field and Description |
---|---|
protected Cache<K,?> |
cache |
protected Converter<? super K,? super V,? extends C> |
converter |
protected TxInvocationContext<LocalTransaction> |
ctx |
protected KeyValueFilter<? super K,? super V> |
filter |
protected org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>> |
iterable |
Constructor and Description |
---|
TransactionAwareCloseableIterable(org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>> iterable,
KeyValueFilter<? super K,? super V> filter,
Converter<? super K,? super V,? extends C> converter,
TxInvocationContext<LocalTransaction> ctx,
Cache<K,?> cache) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.infinispan.commons.util.CloseableIterator<CacheEntry<K,C>> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>> iterable
protected final TxInvocationContext<LocalTransaction> ctx
protected final KeyValueFilter<? super K,? super V> filter
public TransactionAwareCloseableIterable(org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>> iterable, KeyValueFilter<? super K,? super V> filter, Converter<? super K,? super V,? extends C> converter, TxInvocationContext<LocalTransaction> ctx, Cache<K,?> cache)
public void close()
close
in interface AutoCloseable
close
in interface org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>>
public org.infinispan.commons.util.CloseableIterator<CacheEntry<K,C>> iterator()
iterator
in interface Iterable<CacheEntry<K,C>>
iterator
in interface org.infinispan.commons.util.CloseableIterable<CacheEntry<K,C>>
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.