public boolean isReplicationActive ( final String iClusterName , final String iLocalNode ) { final Collection < String > servers = getClusterConfiguration ( iClusterName ) . field ( SERVERS ) ; if ( servers != null && ! servers . isEmpty ( ) ) { return true ; } return false ; }
Returns true if the replication is active otherwise false .