public interface Directory
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Removes all contained objects from the directory and releases its resources.
|
void |
close()
Releases all allocated resources from the directory without removing backing files.
|
Directory |
create() |
DataAccess |
create(String name)
Creates a new DataAccess object with the given name in the location of this Directory.
|
DataAccess |
create(String name,
DAType type) |
DataAccess |
create(String name,
DAType type,
int segmentSize) |
DataAccess |
create(String name,
int segmentSize) |
DAType |
getDefaultType() |
DAType |
getDefaultType(String dataAccess,
boolean preferInts) |
String |
getLocation() |
void |
remove(String name)
Removes the specified object from the directory.
|
String getLocation()
DataAccess create(String name)
DataAccess create(String name, int segmentSize)
segmentSize - segment size in bytes or -1 to use the default of the corresponding DataAccess implementationDataAccess create(String name, DAType type)
DataAccess create(String name, DAType type, int segmentSize)
void remove(String name)
DAType getDefaultType()
void clear()
void close()
Directory create()
Copyright © 2012–2022. All rights reserved.