|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.util.hash.HashURI
@Deprecated public class HashURI
Constructor Summary | |
---|---|
HashURI(java.lang.String filename,
long servers,
long pages)
Deprecated. |
Method Summary | |
---|---|
long |
capacity()
Deprecated. This access method is not synchronized, it is for information only. |
void |
close()
Deprecated. |
void |
commitAllServers()
Deprecated. |
void |
delete()
Deprecated. |
double |
getCachingFactor()
Deprecated. |
double |
getEfficiencyFactor()
Deprecated. |
double |
getSrvEfficiencyFactor()
Deprecated. |
int |
getStatus()
Deprecated. Returns two bits where bit1 is set iff the last put operation operates on non-commited server, and bit0 is set iff the operation allocated a new URI. |
static void |
main(java.lang.String[] argv)
Deprecated. |
long |
push(java.net.URI uri)
Deprecated. Puts the URI into this table and returns the respective UID. |
long |
size()
Deprecated. This access method is not synchronized, it is for information only. |
long |
srvCapacity()
Deprecated. This access method is not synchronized, it is for information only. |
long |
srvSize()
Deprecated. This access method is not synchronized, it is for information only. |
boolean |
wasNew()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HashURI(java.lang.String filename, long servers, long pages) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void delete() throws java.io.IOException
java.io.IOException
public long size()
public long capacity()
public double getEfficiencyFactor()
public double getCachingFactor()
public long srvSize()
public long srvCapacity()
public double getSrvEfficiencyFactor()
public int getStatus()
commitAllServers()
public boolean wasNew()
public long push(java.net.URI uri) throws java.io.IOException
java.io.IOException
public void commitAllServers()
public void close()
public static void main(java.lang.String[] argv) throws java.lang.Throwable
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |