public class

RunningInstance

extends Object
java.lang.Object
   ↳ org.apache.helix.api.RunningInstance

Class Overview

A running attributes of a helix instance

Summary

Public Constructors
RunningInstance(SessionId sessionId, HelixVersion version, ProcId pid)
Construct running instance
Public Methods
ProcId getPid()
Get the name of the running jvm of the running instance
SessionId getSessionId()
Get session id of the running instance session id is the zookeeper session id
HelixVersion getVersion()
Get helix version of the running instance
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RunningInstance (SessionId sessionId, HelixVersion version, ProcId pid)

Construct running instance

Parameters
sessionId zookeeper session-id
version helix-version
pid running jvm name

Public Methods

public ProcId getPid ()

Get the name of the running jvm of the running instance

Returns
  • running jvm name (e.g. 1111@host)

public SessionId getSessionId ()

Get session id of the running instance session id is the zookeeper session id

Returns
  • session id

public HelixVersion getVersion ()

Get helix version of the running instance

Returns
  • helix version