public ReplicatedHashtable(String groupname, ChannelFactory factory, String properties, long state_timeout) { this(groupname, factory, null, properties, state_timeout);
public ReplicatedHashtable(String groupname, ChannelFactory factory, StateTransferListener l, String properties, long state_timeout) { if(l != null) addStateTransferListener(l); try { channel=factory != null ? factory.createChannel(properties) : new JChannel(properties); channel.connect(groupname); adapter=new PullPushAdapter(channel, this, this); adapter.setListener(this); channel.setOpt(Channel.GET_STATE_EVENTS, Boolean.TRUE); boolean rc=channel.getState(null, state_timeout); if(rc) if(log.isInfoEnabled()) log.info("state was retrieved successfully"); else if(log.isInfoEnabled()) log.info("state could not be retrieved (first member)"); } catch(Exception e) { if(log.isErrorEnabled()) log.error("exception=" + e); }
    public ReplicatedHashtable(String groupname, ChannelFactory factory, String properties, long state_timeout) {        this(groupname, factory, null, properties, state_timeout);    }