Property | Type | Description | |
---|---|---|---|
fileMap | RAMFile>.HashMap | ||
internalSizeInBytes | long |
Method | Description | |
---|---|---|
CreateOutput ( System name ) : Lucene.Net.Store.IndexOutput |
Creates a new, empty file in the directory with the given name. Returns a stream writing this file.
|
|
DeleteFile ( System name ) : void |
Removes an existing file in the directory.
|
|
FileExists ( System name ) : bool |
Returns true iff the named file exists in this directory.
|
|
FileLength ( System name ) : long |
Returns the length in bytes of a file in the directory.
|
|
FileModified ( System name ) : long |
Returns the time the named file was last modified.
|
|
ListAll ( ) : System.String[] | ||
OpenInput ( System name ) : |
Returns a stream reading an existing file.
|
|
RAMDirectory ( ) : System |
Constructs an empty Directory.
|
|
RAMDirectory ( Directory dir ) : System |
Creates a new This should be used only with indices that can fit into memory. Note that the resulting
|
|
SizeInBytes ( ) : long |
Return total size in bytes of all files in this directory. This is currently quantized to RAMOutputStream.BUFFER_SIZE.
|
|
TouchFile ( System name ) : void |
Set the modified time of an existing file to now.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Closes the store to future operations, releasing associated memory.
|
Method | Description | |
---|---|---|
OnDeserialized ( System context ) : void | ||
RAMDirectory ( Directory dir, bool closeDir ) : System |
public CreateOutput ( System name ) : Lucene.Net.Store.IndexOutput | ||
name | System | |
return | Lucene.Net.Store.IndexOutput |
public OpenInput ( System name ) : |
||
name | System | |
return |
public RAMDirectory ( Directory dir ) : System | ||
dir | Directory | a |
return | System |