Package org.apache.cassandra.service
Class NativeTransportService
java.lang.Object
org.apache.cassandra.service.NativeTransportService
Handles native transport server lifecycle and associated resources. Lazily initialized.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NativeTransportService
public NativeTransportService()
-
-
Method Details
-
start
public void start()Starts native transport servers. -
stop
public void stop()Stops currently running native transport servers. -
stop
public void stop(boolean force) -
destroy
public void destroy()Ultimately stops servers and closes all resources. -
useEpoll
public static boolean useEpoll()- Returns:
- intend to use epoll based event looping
-
isRunning
public boolean isRunning()- Returns:
- true in case native transport server is running
-
clearConnectionHistory
public void clearConnectionHistory()
-