super(2, maxSize); this.lockTimeout = lockTimeout; synchManager = new LocalSynchronizationManager(null); versionManager = new DistributedVersionManager(lockTimeout, synchManager); this.create(); this.start();
try { Object versioned = versionManager.makeVersioned(obj); super.insert(key, versioned); } catch (Exception ex) { throw new RuntimeException(ex); }