| java.lang.Object org.apache.derby.impl.io.BaseStorageFactory org.apache.derby.impl.io.DirStorageFactory org.apache.derby.impl.io.DirStorageFactory4
DirStorageFactory4 | public class DirStorageFactory4 extends DirStorageFactory (Code) | | This class implements the WritableStorageFactory interface using features found in Java 1.4 but
not in earlier versions of Java.
|
Constructor Summary | |
public | DirStorageFactory4() Most of the initialization is done in the init method. |
DirStorageFactory4 | public DirStorageFactory4()(Code) | | Most of the initialization is done in the init method.
|
newPersistentFile | StorageFile newPersistentFile(String path)(Code) | | Construct a persistent StorageFile from a path name.
Parameters: path - The path name of the file. Guaranteed not to be in the temporary file directory. If nullthen the database directory should be returned. A corresponding StorageFile object |
newPersistentFile | StorageFile newPersistentFile(String directoryName, String fileName)(Code) | | Construct a persistent StorageFile from a directory and path name.
Parameters: directoryName - The path name of the directory. Guaranteed not to be in the temporary file directory.Guaranteed not to be null Parameters: fileName - The name of the file within the directory. Guaranteed not to be null. A corresponding StorageFile object |
newPersistentFile | StorageFile newPersistentFile(StorageFile directoryName, String fileName)(Code) | | Construct a persistent StorageFile from a directory and path name.
Parameters: directoryName - The path name of the directory. Guaranteed not to be to be null. Guaranteed to becreated by a call to one of the newPersistentFile methods. Parameters: fileName - The name of the file within the directory. Guaranteed not to be null. A corresponding StorageFile object |
supportsRws | public boolean supportsRws()(Code) | | This method tests whether the "rws" and "rwd" modes are implemented. If the "rws" method is supported
then the database engine will conclude that the write methods of "rws" mode StorageRandomAccessFiles are
slow but the sync method is fast and optimize accordingly.
true if an StIRandomAccess file opened with "rws" or "rwd" modes immediately writes data to theunderlying storage, false if not. |
|
|