public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version)
      throws CacheException {

    region.ensureRegionRootExists();

    return CacheHelper.putForExternalRead(cache, regionFqn, key, value);
  }
  public boolean insert(Object key, Object value, Object version) throws CacheException {

    region.ensureRegionRootExists();

    CacheHelper.put(cache, regionFqn, key, value);
    return true;
  }
  public boolean update(Object key, Object value, Object currentVersion, Object previousVersion)
      throws CacheException {

    region.ensureRegionRootExists();

    CacheHelper.put(cache, regionFqn, key, value);
    return true;
  }
  public boolean putFromLoad(
      Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride)
      throws CacheException {

    region.ensureRegionRootExists();

    // We ignore minimalPutOverride. JBossCache putForExternalRead is
    // already about as minimal as we can get; it will promptly return
    // if it discovers that the node we want to write to already exists
    return CacheHelper.putForExternalRead(cache, regionFqn, key, value);
  }
  public Object get(Object key, long txTimestamp) throws CacheException {

    region.ensureRegionRootExists();

    return CacheHelper.get(cache, regionFqn, key);
  }
 private void evictOrRemoveAll() throws CacheException {
   CacheHelper.removeAll(cache, regionFqn);
 }
  public void evict(Object key) throws CacheException {

    region.ensureRegionRootExists();

    CacheHelper.remove(cache, regionFqn, key);
  }