Class ODistributedOutput
java.lang.Object
com.orientechnologies.orient.server.distributed.impl.ODistributedOutput
Formats information about distributed cfg.
- Author:
- Luca Garulli (l.garulli--at--orientdb.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatClusterTable(ODistributedServerManager manager, String databaseName, ODistributedConfiguration cfg, int totalConfiguredServers) static StringformatLatency(ODistributedPlugin manager, OClusterConfiguration distribCfg) static StringformatMessageBetweenServers(ODistributedPlugin manager, OClusterConfiguration distribCfg) static StringformatMessages(ODistributedPlugin manager, OClusterConfiguration distribCfg) static StringformatMessageStats(ODistributedPlugin manager, OClusterConfiguration distribCfg) static ObjectformatNewRecordLocks(ODistributedPlugin manager, String db) protected static StringformatServerName(ODistributedPlugin manager, String fromServer) static StringformatServerStatus(ODistributedServerManager manager, OClusterConfiguration distribCfg) static StringgetCompactServerStatus(ODistributedServerManager manager, OClusterConfiguration distribCfg) Create a compact string with all the relevant information.getRequestsStatus(ODistributedPlugin manager, String db) protected static void
-
Constructor Details
-
ODistributedOutput
public ODistributedOutput()
-
-
Method Details
-
formatServerStatus
public static String formatServerStatus(ODistributedServerManager manager, OClusterConfiguration distribCfg) -
formatLatency
-
formatMessages
-
formatMessageBetweenServers
public static String formatMessageBetweenServers(ODistributedPlugin manager, OClusterConfiguration distribCfg) -
formatMessageStats
public static String formatMessageStats(ODistributedPlugin manager, OClusterConfiguration distribCfg) -
sumTotal
-
getCompactServerStatus
public static String getCompactServerStatus(ODistributedServerManager manager, OClusterConfiguration distribCfg) Create a compact string with all the relevant information.- Parameters:
manager-distribCfg-- Returns:
-
formatClusterTable
public static String formatClusterTable(ODistributedServerManager manager, String databaseName, ODistributedConfiguration cfg, int totalConfiguredServers) -
formatServerName
-
formatNewRecordLocks
-
getRequestsStatus
-