1 package org.simantics.acorn.internal;
3 import org.simantics.acorn.cluster.ClusterImpl;
4 import org.simantics.acorn.exception.IllegalAcornStateException;
5 import org.simantics.acorn.lru.ClusterUpdateOperation;
6 import org.simantics.db.impl.ClusterSupport;
8 public class ClusterUpdateProcessor2 extends ClusterUpdateProcessorBase2 {
10 final ClusterSupport support;
11 final ClusterUpdateOperation info;
12 private ClusterImpl cluster;
14 public ClusterUpdateProcessor2(ClusterSupport support, byte[] operations, ClusterUpdateOperation info) {
16 this.support = support;
20 public void process(ClusterImpl cluster) throws IllegalAcornStateException {
21 this.cluster = cluster;
27 void setImmutable(boolean value) {
28 cluster.setImmutable(value, support);