T - public class BackedPartition<T> extends PartitionDecorator<T>
decoratee| Constructor and Description |
|---|
BackedPartition(PartitionFactory<T> partitionFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T item) |
void |
clear()
Clearing switches back to in-memory mode
|
void |
makePersistent() |
close, flush, openaddAll, contains, containsAll, getDecoratee, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArraypublic BackedPartition(PartitionFactory<T> partitionFactory)
public boolean add(T item)
add in interface Collection<T>add in class CollectionDecorator<T,Partition<T>>public void clear()
clear in interface Collection<T>clear in class CollectionDecorator<T,Partition<T>>public void makePersistent()
Copyright © 2014. All rights reserved.