com.hazelcast.core

## Interface ReadOnly

-     public interface ReadOnly

  Allows notifying Hazelcast that the processing unit implementing this interface will not do any modifications. This marker interface allows optimizing the processing to gain more performance. If the processing processing unit implementing this interface does a modification an exception will be thrown. Currently supported in:
  - `EntryProcessor` passed to `IMap.executeOnKey(Object, EntryProcessor)`
  - `EntryProcessor` passed to `IMap.submitToKey(Object, EntryProcessor)`
  - `EntryProcessor` passed to `IMap.submitToKey(Object, EntryProcessor, ExecutionCallback)`
  See Also:
    `Offloadable`

Copyright © 2018. All rights reserved.