Package com.github.ambry.network
Interface NetworkClientFactory
-
public interface NetworkClientFactory
A factory class used to get new instances of aNetworkClient
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkClient
getNetworkClient()
Construct and return a newNetworkClient
-
-
-
Method Detail
-
getNetworkClient
NetworkClient getNetworkClient() throws java.io.IOException
Construct and return a newNetworkClient
- Returns:
- return a new
NetworkClient
- Throws:
java.io.IOException
- if theNetworkClient
could not be instantiated.
-
-