Class ReplicationResource
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.replication.ReplicationResource
-
@Path("/replication") @Produces({"application/json","application/xml"}) public class ReplicationResource extends ObjectGenerates the replication table with information from the Monitor- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description ReplicationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReplicationInformation>getReplicationInformation()Generates the replication table as a JSON objectprotected Map<TableId,String>invert(Map<String,TableId> map)
-
-
-
Method Detail
-
getReplicationInformation
@GET public List<ReplicationInformation> getReplicationInformation() throws AccumuloException, AccumuloSecurityException
Generates the replication table as a JSON object- Returns:
- Replication list
- Throws:
AccumuloExceptionAccumuloSecurityException
-
-