public void addNearValue(int keyIdx,@Nullable CacheObject val,long ttl,long expireTime){
  if (nearValsIdxs == null) {
    nearValsIdxs=new ArrayList<>();
    nearVals=new ArrayList<>();
  }
  addNearTtl(keyIdx,ttl,expireTime);
  nearValsIdxs.add(keyIdx);
  nearVals.add(val);
}

public void addNearValue ( int keyIdx , @ Nullable CacheObject val , long ttl , long expireTime ) { if ( nearValsIdxs == null ) { nearValsIdxs = new ArrayList < > ( ) ; nearVals = new ArrayList < > ( ) ; } addNearTtl ( keyIdx , ttl , expireTime ) ; nearValsIdxs . add ( keyIdx ) ; nearVals . add ( val ) ; }
adds value to be put in near cache on originating node .
