
com.sitewhere.spi.microservice.state.IMicroserviceState Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) SiteWhere, LLC. All rights reserved. http://www.sitewhere.com
*
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package com.sitewhere.spi.microservice.state;
import com.sitewhere.spi.server.lifecycle.LifecycleStatus;
/**
* Contains information about the current state of a microservice.
*/
public interface IMicroserviceState extends IMicroserviceStateElement {
/**
* Get current lifeycle status of tenant engine.
*
* @return
*/
public LifecycleStatus getLifecycleStatus();
/**
* Get number of milliseconds since service was started.
*
* @return
*/
public long getUptime();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy