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