46474849505152535455
public EntityRegionAccessStrategy buildAccessStrategy(AccessType accessType) throws CacheException { switch (accessType) { case READ_WRITE : return new ExoCacheEntityRegionReadWriteAccessStrategy(this); default : throw new IllegalArgumentException("Unrecognized access strategy type [" + accessType + "]"); } }