@Deprecated public class HashURI extends Object
| Constructor and Description |
|---|
HashURI(String filename,
long servers,
long pages)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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(String[] argv)
Deprecated.
|
long |
push(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.
|
public HashURI(String filename, long servers, long pages) throws IOException
filename - servers - pages - IOExceptionpublic void delete()
throws IOException
IOExceptionpublic 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(URI uri) throws IOException
IOExceptionpublic void commitAllServers()
public void close()
Copyright © 2016 Egothor. All Rights Reserved.