class FunctionContextImpl implements FunctionContext {

  @Override
  public Cache getCache() throws CacheClosedException {
    if (cache == null) {
      throw new CacheClosedException("FunctionContext does not have a valid Cache");
    }
    return cache;
  }

  public  FunctionContextImpl(final Cache cache, final String functionId, final Object args,
      ResultSender resultSender);
  public  FunctionContextImpl(final Cache cache, final String functionId, final Object args,
      ResultSender resultSender, boolean isPossibleDuplicate);

}