K - Type of key to be provided, which is to be mapped to an integral
ID.public interface RemoteMultiplexer<K>
We multiplex on an integral ID primarily for performance reasons, since this interface is intended to support remote object multiplexing:
| Modifier and Type | Method and Description |
|---|---|
int |
getMultiplexID(K key)
Retrieve a unique ID for the given key.
|
int getMultiplexID(K key)
key - An object for which a unique ID is needed.java.lang.IllegalArgumentException - if key cannot be mapped to an ID on this server.