Class TablesResource


  • @Path("/tables")
    @Produces({"application/json","application/xml"})
    public class TablesResource
    extends Object
    Generates a tables list from the Monitor as a JSON object
    Since:
    2.0.0
    • Constructor Detail

      • TablesResource

        public TablesResource()
    • Method Detail

      • getTables

        @GET
        public TableInformationList getTables()
        Generates a list of all the tables
        Returns:
        list with all tables
      • getParticipatingTabletServers

        @Path("{tableId}")
        @GET
        public TabletServers getParticipatingTabletServers​(@PathParam("tableId") @NotNull @Pattern(regexp="[!+]?\\w+")
                                                           @NotNull @Pattern(regexp="[!+]?\\w+") String tableIdStr)
        Generates a list of participating tservers for a table
        Parameters:
        tableIdStr - Table ID to find participating tservers
        Returns:
        List of participating tservers