public class TransactionAwareEntryIterable<K,V> extends TransactionAwareCloseableIterable<K,V,V> implements EntryIterable<K,V>
| Constructor and Description |
|---|
TransactionAwareEntryIterable(EntryIterable<K,V> entryIterable,
KeyValueFilter<? super K,? super V> filter,
TxInvocationContext<LocalTransaction> ctx,
Cache<K,V> cache) |
| Modifier and Type | Method and Description |
|---|---|
<C> CloseableIterable<CacheEntry<K,C>> |
converter(Converter<? super K,? super V,C> converter)
This returns a
CloseableIterable that will change the type of the returned
value for the entry using the already provided filter in addition to the converter. |
close, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, iteratorforEach, spliteratorpublic TransactionAwareEntryIterable(EntryIterable<K,V> entryIterable, KeyValueFilter<? super K,? super V> filter, TxInvocationContext<LocalTransaction> ctx, Cache<K,V> cache)
public <C> CloseableIterable<CacheEntry<K,C>> converter(Converter<? super K,? super V,C> converter)
EntryIterableCloseableIterable that will change the type of the returned
value for the entry using the already provided filter in addition to the converter.converter in interface EntryIterable<K,V>C - The type of the converted valueconverter - The converter to apply to the iterator that is produced. Callbacks to to this converter will
never provide a key or value that is null.Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.