| Interface | Description |
|---|---|
| ObjectCopyFactory |
Copying objects is not an easy task, so better have a factory for that.
|
| ObjectTransformer<E,I> |
| Class | Description |
|---|---|
| CloneCopyTransformer<T> |
Implement copy via reflective call to a clone method (needs to be public).
|
| CopyCacheProxy<K,V> |
Cache proxy that expects the transformers keep the type but copy the objects.
|
| CopyTransformer<T> |
Copy: Transform between identical representation types, but different instances.
|
| RuntimeCopyTransformer | |
| SerializableCopyTransformer<T> |
Uses serialization to copy the object instances.
|
| SimpleObjectCopyFactory |
For immutable objects we just pass the reference through, other objects need to be
copied with clone or serialization.
|
| TransformingCacheProxy<K,V,K0,V0> |
This is a proxy that filters all keys and values that go in and out.
|
cache2k API documentation. Copyright © 2000–2020 headissue GmbH, Munich.