Example usage for org.apache.cassandra.tools NodeProbe isNativeTransportRunning

List of usage examples for org.apache.cassandra.tools NodeProbe isNativeTransportRunning

Introduction

In this page you can find the example usage for org.apache.cassandra.tools NodeProbe isNativeTransportRunning.

Prototype

public boolean isNativeTransportRunning() 

Source Link

Usage

From source file:com.mesosphere.dcos.cassandra.executor.CassandraDaemonProcess.java

License:Apache License

private static CassandraStatus getCassandraStatus(final NodeProbe probe) {
    return CassandraStatus.create(CassandraMode.valueOf(probe.getOperationMode()), probe.isJoined(),
            probe.isThriftServerRunning(), probe.isNativeTransportRunning(), probe.isInitialized(),
            probe.isGossipRunning(), probe.getLocalHostId(), probe.getEndpoint(), probe.getTokens().size(),
            probe.getDataCenter(), probe.getRack(), probe.getReleaseVersion());
}