org.apache.ignite.cache

## Annotation Type IgniteImmutable

    @Documented
    @Retention(value=RUNTIME)
    @Target(value=TYPE)
    public @interface IgniteImmutable

If cache configuration flag `CacheConfiguration.isCopyOnRead()` is set then for each operation implying return value copy of the value stored in cache is created. Also if this flag is set copies are created for values passed to `CacheInterceptor` and to `IgniteEntryProcessor`.

Copies are not created for types marked with `IgniteImmutable` annotation and for known immutable types:

- Boxed primitives (`Integer`, `Long`, ...)
- `String`
- `UUID`
- `BigDecimal`
- `IgniteUuid`

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.0.0-RC3
Release Date | : March 24 2015