@LogMessageDoc(level="ERROR",message="Failed to queue hint for store {storeName}",explanation="There was an error synchronizing data to " + "remote nodes",recommendation=LogMessageDoc.REPORT_CONTROLLER_BUG) public void queueHint(String storeName,ByteArray key,Versioned<byte[]> value){
  try {
    HintKey hk=new HintKey(storeName,key);
    hintLock.lock();
    try {
      boolean needed=!hints.containsKey(hk);
      needed&=hints.doput(hk,value);
      if (needed) {
        hintQueue.add(hk);
        hintsAvailable.signal();
      }
    }
  finally {
      hintLock.unlock();
    }
  }
 catch (  SyncException e) {
    logger.error("Failed to queue hint for store " + storeName,e);
  }
}

@ LogMessageDoc ( level = "ERROR" , message = "Failed to queue hint for store {storeName}" , explanation = "There was an error synchronizing data to " + "remote nodes" , recommendation = LogMessageDoc . REPORT_CONTROLLER_BUG ) public void queueHint ( String storeName , ByteArray key , Versioned < byte [ ] > value ) { try { HintKey hk = new HintKey ( storeName , key ) ; hintLock . lock ( ) ; try { boolean needed = ! hints . containsKey ( hk ) ; needed &= hints . doput ( hk , value ) ; if ( needed ) { hintQueue . add ( hk ) ; hintsAvailable . signal ( ) ; } } finally { hintLock . unlock ( ) ; } } catch ( SyncException e ) { logger . error ( "Failed to queue hint for store " + storeName , e ) ; } }
add a key / value to the hint store for the given store
