Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.coordinationservice.utils.CoordinationServiceUtils Class Reference

Static Public Member Functions

static boolean isZooKeeperAccessible (String hostName, String port) throws InterruptedException, IOException
 

Static Private Attributes

static final int ZOOKEEPER_CONNECTION_TIMEOUT_MILLIS = 15000
 
static final int ZOOKEEPER_SESSION_TIMEOUT_MILLIS = 3000
 

Detailed Description

A utility class for coordination service and ZooKeeper. This class is in a separate package to avoid exposing it as public API.

Definition at line 29 of file CoordinationServiceUtils.java.

Member Function Documentation

static boolean org.sleuthkit.autopsy.coordinationservice.utils.CoordinationServiceUtils.isZooKeeperAccessible ( String  hostName,
String  port 
) throws InterruptedException, IOException
static

Determines if ZooKeeper is accessible with the current settings. Closes the connection prior to returning.

Returns
true if a connection was achieved, false otherwise
Exceptions
InterruptedException
IOException

Definition at line 43 of file CoordinationServiceUtils.java.

Referenced by org.sleuthkit.autopsy.corecomponents.MultiUserSettingsPanel.bnTestZKActionPerformed(), and org.sleuthkit.autopsy.coordinationservice.CoordinationService.CoordinationService().

Member Data Documentation

final int org.sleuthkit.autopsy.coordinationservice.utils.CoordinationServiceUtils.ZOOKEEPER_CONNECTION_TIMEOUT_MILLIS = 15000
staticprivate

Definition at line 32 of file CoordinationServiceUtils.java.

final int org.sleuthkit.autopsy.coordinationservice.utils.CoordinationServiceUtils.ZOOKEEPER_SESSION_TIMEOUT_MILLIS = 3000
staticprivate

Definition at line 31 of file CoordinationServiceUtils.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Thu Sep 29 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.