Skip to content

Commit

Permalink
Rename distributed network manager
Browse files Browse the repository at this point in the history
  • Loading branch information
luigidellaquila authored and tglman committed Jan 3, 2019
1 parent 84a1cdf commit 43ce617
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 56 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ public abstract class ODistributedAbstractPlugin extends OServerPluginAbstract
protected File defaultDatabaseConfigFile; protected File defaultDatabaseConfigFile;
protected final ConcurrentMap<String, ODistributedStorage> storages = new ConcurrentHashMap<String, ODistributedStorage>(); protected final ConcurrentMap<String, ODistributedStorage> storages = new ConcurrentHashMap<String, ODistributedStorage>();
protected volatile NODE_STATUS status = NODE_STATUS.OFFLINE; protected volatile NODE_STATUS status = NODE_STATUS.OFFLINE;
protected long lastClusterChangeOn; protected long lastClusterChangeOn;
protected List<ODistributedLifecycleListener> listeners = new ArrayList<ODistributedLifecycleListener>(); protected List<ODistributedLifecycleListener> listeners = new ArrayList<ODistributedLifecycleListener>();
protected ORemoteServerManager remoteServerManager; protected ODistributedNetworkManager remoteServerManager;
protected TimerTask publishLocalNodeConfigurationTask = null; protected TimerTask publishLocalNodeConfigurationTask = null;
protected TimerTask haStatsTask = null; protected TimerTask haStatsTask = null;
protected OClusterHealthChecker healthCheckerTask = null; protected OClusterHealthChecker healthCheckerTask = null;


// LOCAL MSG COUNTER // LOCAL MSG COUNTER
protected AtomicLong localMessageIdCounter = new AtomicLong(); protected AtomicLong localMessageIdCounter = new AtomicLong();
Expand Down Expand Up @@ -190,7 +190,7 @@ public void config(OServer oServer, OServerParameterConfiguration[] iParams) {
throw OException.wrapException(new OConfigurationException("Error on deleting 'replicator' user"), e); throw OException.wrapException(new OConfigurationException("Error on deleting 'replicator' user"), e);
} }


this.remoteServerManager = new ORemoteServerManager(nodeName, new ORemoteServerAvailabilityCheck() { this.remoteServerManager = new ODistributedNetworkManager(nodeName, new ORemoteServerAvailabilityCheck() {
@Override @Override
public boolean isNodeAvailable(String node) { public boolean isNodeAvailable(String node) {
return ODistributedAbstractPlugin.this.isNodeAvailable(node); return ODistributedAbstractPlugin.this.isNodeAvailable(node);
Expand Down

This file was deleted.

0 comments on commit 43ce617

Please sign in to comment.