Package com.opengamma.engine.cache.msg

Examples of com.opengamma.engine.cache.msg.PutRequest


    return result;
  }

  @Override
  public void put(long identifier, FudgeMsg data) {
    final PutRequest request = new PutRequest(getCacheKey().getViewCycleId(), getCacheKey()
        .getCalculationConfigurationName(), Collections.singleton(identifier),
        Collections.singleton(data));
    getRemoteCacheClient().sendPutMessage(request, CacheMessage.class);
  }
View Full Code Here


    final List<FudgeMsg> values = new ArrayList<FudgeMsg>(data.size());
    for (Map.Entry<Long, FudgeMsg> entry : data.entrySet()) {
      identifiers.add(entry.getKey());
      values.add(entry.getValue());
    }
    final PutRequest request = new PutRequest(getCacheKey().getViewCycleId(), getCacheKey()
        .getCalculationConfigurationName(), identifiers, values);
    getRemoteCacheClient().sendPutMessage(request, CacheMessage.class);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.cache.msg.PutRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.