@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 CacheEntryProcessor
.
Copies are not created for types marked with IgniteImmutable
annotation and for known
immutable types:
Integer
, Long
, ...)String
UUID
BigDecimal
IgniteUuid
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015