public class ReadOnlyVolumeFactory
extends VolumeFactory
Wraps volume factory and returns volume as readonly
Constructor and Description |
---|
ReadOnlyVolumeFactory(VolumeFactory volfab)
Wraps volume factory and returns volume as readonly
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.lang.String file) |
VolumeFactory |
getVolfab() |
boolean |
handlesReadonly() |
Volume |
makeVolume(java.lang.String file,
boolean readOnly,
long fileLockWait,
int sliceShift,
long initSize,
boolean fixedSize) |
exists, handlesReadonly, makeVolume, makeVolume, makeVolume, wrap
public ReadOnlyVolumeFactory(VolumeFactory volfab)
Wraps volume factory and returns volume as readonly
public boolean exists(java.lang.String file)
public Volume makeVolume(java.lang.String file, boolean readOnly, long fileLockWait, int sliceShift, long initSize, boolean fixedSize)
public boolean handlesReadonly()
public VolumeFactory getVolfab()