private void cacheStats(String aCasReferenceId, long aTimeWaitingForCAS,
long aTimeToDeserializeCAS) throws Exception {
CacheEntry entry = getController().getInProcessCache().getCacheEntryForCAS(aCasReferenceId);
entry.incrementTimeWaitingForCAS(aTimeWaitingForCAS);
entry.incrementTimeToDeserializeCAS(aTimeToDeserializeCAS);
}
private boolean messageContainsXMI(MessageContext aMessageContext, String casReferenceId)
throws Exception {
// Fetch serialized CAS from the message