protected void dumpServersStatus ( ) { final ODocument cfg = getClusterConfiguration ( ) ; final String compactStatus = ODistributedOutput . getCompactServerStatus ( this , cfg ) ; if ( ! lastServerDump . equals ( compactStatus ) ) { lastServerDump = compactStatus ; ODistributedServerLog . info ( this , getLocalNodeName ( ) , null , DIRECTION . NONE , "Distributed servers status (*=current @=lockmgr[%s]):\n%s" , getLockManagerServer ( ) , ODistributedOutput . formatServerStatus ( this , cfg ) ) ; } }
Avoids to dump the same configuration twice if it s unchanged since the last time .