org.egothor.util.hash
Class HashURI

java.lang.Object
  extended by org.egothor.util.hash.HashURI

Deprecated.

@Deprecated
public class HashURI
extends java.lang.Object


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

HashURI

public HashURI(java.lang.String filename,
               long servers,
               long pages)
        throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

delete

public void delete()
            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

size

public long size()
Deprecated. 
This access method is not synchronized, it is for information only.


capacity

public long capacity()
Deprecated. 
This access method is not synchronized, it is for information only.


getEfficiencyFactor

public double getEfficiencyFactor()
Deprecated. 

getCachingFactor

public double getCachingFactor()
Deprecated. 

srvSize

public long srvSize()
Deprecated. 
This access method is not synchronized, it is for information only.


srvCapacity

public long srvCapacity()
Deprecated. 
This access method is not synchronized, it is for information only.


getSrvEfficiencyFactor

public double getSrvEfficiencyFactor()
Deprecated. 

getStatus

public 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.

See Also:
commitAllServers()

wasNew

public boolean wasNew()
Deprecated. 

push

public long push(java.net.URI uri)
          throws java.io.IOException
Deprecated. 
Puts the URI into this table and returns the respective UID.

Returns:
UID
Throws:
java.io.IOException

commitAllServers

public void commitAllServers()
Deprecated. 

close

public void close()
Deprecated. 

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Throwable
Deprecated. 
Throws:
java.lang.Throwable