org.opendaylight.infrautils.diagstatus.ServiceState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of diagstatus-api Show documentation
Show all versions of diagstatus-api Show documentation
Provides services for monitoring and retrieving system diagnostic statuses
/*
* Copyright (c) 2017 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.opendaylight.infrautils.diagstatus;
/**
* ServiceState for {@link ServiceState}.
*
* @author Faseela K
*/
public enum ServiceState {
/**
* This state is used only by the monitor implementation and not by monitored services.
*/
UNREGISTERED,
/**
* Move to this state when registration call is received from monitored service.
*/
STARTING,
/**
* This state is used only by the monitored services for reactive and proactive reporting.
*/
OPERATIONAL,
/**
* This state is used only by the monitor implementation and not by monitored services.
*/
SUSPECTED,
/**
* This state is used only by the monitor implementation and not by monitored services.
*/
RECOVERED,
/**
* This state is used only by the monitored services for reactive and proactive reporting.
*/
ERROR,
}