public void start(JChannel channel) throws Exception { map=new ReplicatedHashMap<>(channel); map.addNotifier(this); map.start(10000);
this.containerAddressesHashMap = new ReplicatedHashMap<String, Address>( this.discoveryHashMapChannel, LATENTY_MAX_TIME); this.jndiHashMap = new ReplicatedHashMap<String, HashMap<String, Object>>( this.jndiHashMapChannel, false, LATENTY_MAX_TIME);
public void start(JChannel channel) throws Exception { map=new ReplicatedHashMap<>(channel); map.addNotifier(this); map.start(10000);