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
IOException
public long append(URI uri) throws DatabaseStorageException
append
in interface URIRepositoryAppender
DatabaseStorageException
public void close()
close
in interface URIRepositoryAppender
public long size()
URIRepositoryAppender
size
in interface URIRepositoryAppender
Copyright © 2016 Egothor. All Rights Reserved.