|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.util.DHTTransport<K,V>
public abstract class DHTTransport<K,V>
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.
| Nested Class Summary | |
|---|---|
static class |
DHTTransport.Stor
|
| Field Summary | |
|---|---|
static long |
drtime
|
static long |
dtime
|
static long |
ertime
|
static long |
etime
|
static DHTTransport.Stor |
stor
|
| Constructor Summary | |
|---|---|
protected |
DHTTransport()
protected constructor. |
| Method Summary | ||
|---|---|---|
static
|
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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static long etime
public static long dtime
public static long ertime
public static long drtime
public static final DHTTransport.Stor stor
| Constructor Detail |
|---|
protected DHTTransport()
| Method Detail |
|---|
public static <K,V> DHTTransport<K,V> create(K key,
V value)
throws java.io.IOException
key - value -
java.io.IOException
public abstract K key()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public abstract V value()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||