private void replicateAndfreeCacheContextTxn(Context context,ServerTransaction transaction){
  try {
    replicateAndfreeCache(context);
  }
 catch (  RuntimeException ex) {
    if (_logger.isLoggable(Level.SEVERE)) {
      _logger.log(Level.SEVERE,"Failed to perform sync-replication on transactionId: " + transaction,ex);
    }
  }
}

private void replicateAndfreeCacheContextTxn ( Context context , ServerTransaction transaction ) { try { replicateAndfreeCache ( context ) ; } catch ( RuntimeException ex ) { if ( _logger . isLoggable ( Level . SEVERE ) ) { _logger . log ( Level . SEVERE , "Failed to perform sync-replication on transactionId: " + transaction , ex ) ; } } }
replicate and free the cache context and log on error .
