ApplicationResource

Copyright 2013 WANdisco.

The following resources are part of this group:

Mount Point:

GET

Response Body

element: (custom)
media types: application/xml
application/json

a representation of the application

/agreementStatistics

Mount Point: /agreementStatistics

GET

Response Body

element: (custom)
media types: application/xml
application/json

a AgreementStatisticsDTO containing the agreement statistics since the location was last started. Note: in applications that performing out a large number of agreements/second this method should not be called frequently as it takes an exclusive/global lock on the DConE com.wandisco.agreements.AgreementManager - where all agreements are created, read, updated and deleted - taking this lock should not be done without careful thought.

/backup

Mount Point: /backup

POST

Response Body

element: (custom)
media types: */*
application/xml

(no documentation provided)

/handlers

Mount Point: /handlers

GET

Response Body

element: (custom)
media types: application/xml
application/json

(no documentation provided)

/nodeRecoveryDetails

Mount Point: /nodeRecoveryDetails

PUT

Generates a human readable file containing the local nodes details including ip, ports, other nodes it knows about, memberships, replication groups, and extensions in the application layer.

Response Body

element: (custom)
media types: */*
application/xml

(no documentation provided)

/restart

Mount Point: /restart

POST

Shuts down the replicator process; exits with signal 0 to ensure the watchdog restarts it.

Parameters

name description type default
reason (no documentation provided) query Restart requested via REST API

Response Body

element: (custom)
media types: */*
application/xml

(no documentation provided)

/shutdown

Mount Point: /shutdown

POST

Shuts down the replicator process; exits with signal 1 to ensure the watchdog does not restart it.

Parameters

name description type default
reason (no documentation provided) query Shutdown requested via REST API
delaySec (no documentation provided) query

Response Body

element: (custom)
media types: */*
application/xml

(no documentation provided)

/threaddump

Mount Point: /threaddump

POST

Response Body

element: (custom)
media types: */*
application/xml

(no documentation provided)