nd4j-parameter-server-parent/nd4j-parameter-server/src/main/java/org/nd4j/parameterserver/updater/TimeDelayedParameterUpdater.java
@Override
    public boolean shouldReplicate() {
        long now = System.currentTimeMillis();
        long diff = Math.abs(now - lastSynced);
        return diff > syncTime;
    }
@Override
    public boolean shouldReplicate() {
        long now = System.currentTimeMillis();
        long diff = Math.abs(now - lastSynced);
        return diff > syncTime;
    }
@ Override public boolean shouldReplicate ( ) { long now = System . currentTimeMillis ( ) ; long diff = Math . abs ( now - lastSynced ) ; return diff > syncTime ; }
Returns true if
the updater has accumulated enough ndarrays to
replicate to the workers

@return true if replication should happen,false otherwise
Returns true if the updater has accumulated enough ndarrays to replicate to the workers