Java Code Examples for org.apache.cassandra.tools.nodetool.GetLoggingLevels

Following code examples demonstrate how to use org.apache.cassandra.tools.nodetool.GetLoggingLevels from cassandra. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use org.apache.cassandra.tools.nodetool.GetLoggingLevels and various code implementation of this class.
Example 1
Project : cassandra Source File : NodeTool.java View Source Code on GitHub

   public static Cli<Runnable> createCli(boolean withSequence) {
      List<Class<? extends Runnable>> commands = Lists.newArrayList(new Class[]{Help.class, Info.class, Ring.class, NetStats.class, CfStats.class, TableStats.class, CfHistograms.class, TableHistograms.class, Cleanup.class, ClearSnapshot.class, Compact.class, Scrub.class, Verify.class, Flush.class, UpgradeSSTable.class, GarbageCollect.class, DisableAutoCompaction.class, EnableAutoCompaction.class, CompactionStats.class, CompactionHistory.class, Decommission.class, DescribeCluster.class, DisableBinary.class, EnableBinary.class, EnableGossip.class, DisableGossip.class, EnableHandoff.class, GcStats.class, GetBatchlogReplayTrottle.class, GetCompactionThreshold.class, GetCompactionThroughput.class, GetLocallyReplicatedKeyspaces.class, GetTimeout.class, GetStreamThroughput.class, GetTraceProbability.class, GetInterDCStreamThroughput.class, GetEndpoints.class, GetSeeds.class, GetSSTables.class, GetMaxHintWindow.class, GossipInfo.class, InvalidateKeyCache.class, InvalidateRowCache.class, InvalidateCounterCache.class, Join.class, Move.class, PauseHandoff.class, ResumeHandoff.class, ProxyHistograms.class, Rebuild.class, Refresh.class, RemoveNode.class, Assassinate.class, ReloadSeeds.class, Repair.class, RepairAdmin.class, ReplayBatchlog.class, SetCacheCapacity.class, SetHintedHandoffThrottleInKB.class, SetBatchlogReplayThrottle.class, SetCompactionThreshold.class, SetCompactionThroughput.class, GetConcurrentCompactors.class, SetConcurrentCompactors.class, GetConcurrentViewBuilders.class, SetConcurrentViewBuilders.class, SetTimeout.class, SetStreamThroughput.class, SetInterDCStreamThroughput.class, SetTraceProbability.class, SetMaxHintWindow.class, Snapshot.class, ListSnapshots.class, ListEndpointsPendingHints.class, Status.class, StatusBinary.class, StatusGossip.class, StatusBackup.class, StatusHandoff.class, StatusAutoCompaction.class, Stop.class, StopDaemon.class, Version.class, DescribeRing.class, RebuildIndex.class, RangeKeySample.class, EnableBackup.class, DisableBackup.class, ResetLocalSchema.class, ReloadLocalSchema.class, ReloadTriggers.class, SetCacheKeysToSave.class, DisableHandoff.class, Drain.class, TruncateHints.class, TpStats.class, TopPartitions.class, SetLoggingLevel.class, GetLoggingLevels.class, Sjk.class, DisableHintsForDC.class, EnableHintsForDC.class, FailureDetectorInfo.class, RefreshSizeEstimates.class, RelocateSSTables.class, ViewBuildStatus.class, InMemoryStatus.class, MarkUnrepaired.class, HandoffWindow.class, AbortRebuild.class});
      if(withSequence) {
         commands.add(Sequence.class);
      }

      CliBuilder<Runnable> builder = Cli.builder("nodetool");
      builder.withDescription("Manage your Cassandra cluster").withDefaultCommand(Help.class).withCommands(commands);
      builder.withGroup("bootstrap").withDescription("Monitor/manage node's bootstrap process").withDefaultCommand(Help.class).withCommand(BootstrapResume.class);
      builder.withGroup("nodesyncservice").withDescription("Manage the NodeSync service on the connected node").withDefaultCommand(Help.class).withCommand(SetRate.class).withCommand(GetRate.class).withCommand(Enable.class).withCommand(Disable.class).withCommand(org.apache.cassandra.tools.nodetool.nodesync.Status.class).withCommand(RateSimulatorCmd.class);
      return builder.build();
   }