All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tteky.xenonext.fsm.stats.FSMStatsService Maven / Gradle / Ivy

The newest version!
package com.tteky.xenonext.fsm.stats;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import java.util.Collection;
import java.util.Map;
import java.util.concurrent.CompletableFuture;

import static com.tteky.xenonext.fsm.stats.FSMStatsService.SELF_LINK;

/**
 * Stats service
 */
@Path(SELF_LINK)
public interface FSMStatsService {
    String SELF_LINK = "/fsm/monitoring";

    @Path("/list")
    @GET
    Collection allServices();

    @Path("/register")
    @GET
    Collection registerSvc(@QueryParam("uri") String uri, @QueryParam("className") String className);

    @Path("/svc/graphson")
    @GET
    Map svcGraphson(@QueryParam("uri") String uri);


    @Path("/doc/graphson")
    @GET
    CompletableFuture> docGraphson(@QueryParam("uri") String uri);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy