|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.core.storage.gammaStore.FileStorageFactory
org.ozoneDB.core.storage.gammaStore.FileStreamStorageFactory
Field Summary |
Fields inherited from class org.ozoneDB.core.storage.gammaStore.FileStorageFactory |
DIRECTORY, SUBDIRECTORYCOUNT, SUBDIRECTORYDEPTH |
Constructor Summary | |
FileStreamStorageFactory(java.util.Properties properties,
java.lang.String prefix)
|
Method Summary | |
Storage |
createStorage(java.lang.String name)
Creates an input stream that is uniquely identified by the specified name. |
Methods inherited from class org.ozoneDB.core.storage.gammaStore.FileStorageFactory |
delete, deleteAll, ensureParentsExist, getDirectory, getPrefix, getPropertyInfos, nameToFile, nameToFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileStreamStorageFactory(java.util.Properties properties, java.lang.String prefix)
Method Detail |
public Storage createStorage(java.lang.String name) throws java.io.IOException
StorageFactory
Creates an input stream that is uniquely identified by the specified
name. Implementing classes typically have a separate namespace
(subdirectory in case of files) for each instance. The name
parameter uniquely and inambiguously specifies the exact location to
read/write data: this method returns a Storage
to the same location if and
only if the name is equal.
Note: because it is impossible to know what characters are supported by the specific implementation, one is advised to be conservative in the use of the name parameter; keep it short, use either lowercase or uppercase characters, do not use '+', '-', '&', '>', etc.
name
- name of the Storage
instance
java.io.IOException
|
ozone core API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |