public class

Error

extends HelixProperty
java.lang.Object
   ↳ org.apache.helix.HelixProperty
     ↳ org.apache.helix.model.Error

Class Overview

Defines an error that occurs in computing a valid ideal state or external view

Summary

[Expand]
Inherited Fields
From class org.apache.helix.HelixProperty
Public Constructors
Error(ZNRecord record)
Create an error from a record representing an existing one
Public Methods
boolean isValid()
Get property validity
[Expand]
Inherited Methods
From class org.apache.helix.HelixProperty
From class java.lang.Object

Public Constructors

public Error (ZNRecord record)

Create an error from a record representing an existing one

Parameters
record ZNRecord corresponding to an error

Public Methods

public boolean isValid ()

Get property validity

Returns
  • true if valid, false if invalid