Documentation of 'edu.jas.util.DHTTransport' Java class
DHTTransport
edu.jas.util

Class DHTTransport<K,V>

  • All Implemented Interfaces:
    java.io.Serializable


    public abstract class DHTTransport<K,V>
    extends java.lang.Object
    implements java.io.Serializable
    Transport container for a distributed version of a HashTable. Note: Contains code for timing of marshalled versus plain object serialization which can be removed later.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  DHTTransport.Stor 
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method and Description
      static <K,V> DHTTransport<K,V> create(K key, V value)
      Create a new DHTTransport Container.
      abstract K key()
      Get the key from this DHTTransport Container.
      java.lang.String toString()
      toString.
      abstract V value()
      Get the value from this DHTTransport Container.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • create

        public static <K,V> DHTTransport<K,V> create(K key,
                                                     V value)
                                              throws java.io.IOException
        Create a new DHTTransport Container.
        Parameters:
        key -
        value -
        Throws:
        java.io.IOException
      • key

        public abstract K key()
                       throws java.io.IOException,
                              java.lang.ClassNotFoundException
        Get the key from this DHTTransport Container.
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • value

        public abstract V value()
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
        Get the value from this DHTTransport Container.
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • toString

        public java.lang.String toString()
        toString.
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.