@ 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