public class DirStorageFactory4 extends DirStorageFactory
canonicalName, dataDirectory, home, separatedDataDirectory, tempDir, tempDirPath, uniqueNameVERSION_NUMBER| Constructor and Description |
|---|
DirStorageFactory4()
Most of the initialization is done in the init method.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) StorageFile |
newPersistentFile(StorageFile directoryName,
java.lang.String fileName)
Construct a persistent StorageFile from a directory and path name.
|
(package private) StorageFile |
newPersistentFile(java.lang.String path)
Construct a persistent StorageFile from a path name.
|
(package private) StorageFile |
newPersistentFile(java.lang.String directoryName,
java.lang.String fileName)
Construct a persistent StorageFile from a directory and path name.
|
boolean |
supportsWriteSync()
This method tests whether the "rws" and "rwd" modes are implemented.
|
doInit, isReadOnlyDatabase, newStorageFile, newStorageFile, newStorageFile, supportsRandomAccess, synccreateTempDir, createTemporaryFile, getCanonicalName, getSeparator, getStorageFactoryVersion, getTempDir, init, isFast, setCanonicalName, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTemporaryFile, getCanonicalName, getSeparator, getStorageFactoryVersion, getTempDir, init, isFast, setCanonicalName, shutdownpublic DirStorageFactory4()
StorageFile newPersistentFile(java.lang.String path)
newPersistentFile in class DirStorageFactorypath - The path name of the file. Guaranteed not to be in the temporary file directory. If null
then the database directory should be returned.StorageFile newPersistentFile(java.lang.String directoryName, java.lang.String fileName)
newPersistentFile in class DirStorageFactorydirectoryName - The path name of the directory. Guaranteed not to be in the temporary file directory.
Guaranteed not to be nullfileName - The name of the file within the directory. Guaranteed not to be null.StorageFile newPersistentFile(StorageFile directoryName, java.lang.String fileName)
newPersistentFile in class DirStorageFactorydirectoryName - The path name of the directory. Guaranteed not to be to be null. Guaranteed to be
created by a call to one of the newPersistentFile methods.fileName - The name of the file within the directory. Guaranteed not to be null.public boolean supportsWriteSync()
supportsWriteSync in interface WritableStorageFactorysupportsWriteSync in class DirStorageFactoryApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.