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 StringformatLatency(String manager, OClusterConfiguration distribCfg) static StringformatMessageBetweenServers(String localServerName, OClusterConfiguration distribCfg) static StringformatMessages(String localServerName, OClusterConfiguration distribCfg) static StringformatMessageStats(String localServerName, OClusterConfiguration distribCfg) static ObjectformatNewRecordLocks(ODistributedPlugin manager, String db) protected static StringformatServerName(String localServerName, String fromServer) static Stringstatic StringgetCompactServerStatus(OrientDBDistributed ctx, 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
-
formatLatency
-
formatMessages
-
formatMessageBetweenServers
public static String formatMessageBetweenServers(String localServerName, OClusterConfiguration distribCfg) -
formatMessageStats
-
sumTotal
-
getCompactServerStatus
public static String getCompactServerStatus(OrientDBDistributed ctx, OClusterConfiguration distribCfg) Create a compact string with all the relevant information.- Parameters:
distribCfg-manager-- Returns:
-
formatServerName
-
formatNewRecordLocks
-
getRequestsStatus
-