@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface IgniteImmutable
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:
Integer
, Long
, ...)String
UUID
BigDecimal
IgniteUuid
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015