public class FastBlindAppender extends Object implements URIRepositoryAppender
| Constructor and Description |
|---|
FastBlindAppender(String filename,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
long |
append(URI uri)
Returns id or -id of the URI.
|
void |
close() |
long |
size()
Returns number of URIs in the base, or -1 iff the value is unknown.
|
public FastBlindAppender(String filename, int capacity) throws IOException
IOExceptionpublic long append(URI uri) throws DatabaseStorageException
append in interface URIRepositoryAppenderDatabaseStorageExceptionpublic void close()
close in interface URIRepositoryAppenderpublic long size()
URIRepositoryAppendersize in interface URIRepositoryAppenderCopyright © 2016 Egothor. All Rights Reserved.