Package com.mapr.fs.gateway
Class GatewayServerHolder
- java.lang.Object
-
- com.mapr.fs.gateway.GatewayServerHolder
-
public class GatewayServerHolder extends java.lang.ObjectClass that holds reference to GatewayServer so it could be accessed via getInstance() method from other classes getInstance(Gateway) should be called upon GatewayServer construction
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GatewayServergetInstance()static GatewayServergetInstance(Gateway gateway, int numThreads)
-
-
-
Method Detail
-
getInstance
public static GatewayServer getInstance()
-
getInstance
public static GatewayServer getInstance(Gateway gateway, int numThreads) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-