public interface ShelfBuilder<T,B extends ShelfBuilder<T,?>>
| Modifier and Type | Method and Description |
|---|---|
<S extends Shelf<T>> |
build() |
B |
concurrent()
Make the store use concurrent data structures
|
ExpiringShelfBuilder<T,?> |
expiring()
Move onto expiring store
|
B |
hashable()
Make the store use hashable references rather than identity references.
|
B |
weak()
Use weak references for the store, this will allow the store values to be garbage collected
|
B hashable()
B weak()
B concurrent()
ExpiringShelfBuilder<T,?> expiring()