Constructor and Description |
---|
KeepAliveCache() |
Modifier and Type | Method and Description |
---|---|
NettyTransportHandler |
get(URL url)
Check to see if this URL has a cached NettyTransportHandler
|
void |
put(URL url,
NettyTransportHandler transport)
Register this URL and NettyTransportHandler with the cache
|
void |
remove(NettyTransportHandler h,
Object obj) |
void |
run() |
public void put(URL url, NettyTransportHandler transport)
url
- The URL contains info about the host and porttransport
- The NettyTransportHandler to be cachedpublic void remove(NettyTransportHandler h, Object obj)
public NettyTransportHandler get(URL url)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.