ApplicationResource

Copyright 2013 WANdisco.

The following resources are part of this group:

Mount Point: /dcone

GET

Response Body

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

a representation of the application

/agreementStatistics

Mount Point: /dcone/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: /dcone/backup

POST

Response Body

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

(no documentation provided)

/handlers

Mount Point: /dcone/handlers

GET

Response Body

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

(no documentation provided)

/nodeRecoveryDetails

Mount Point: /dcone/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: /dcone/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: /dcone/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

Response Body

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

(no documentation provided)

/threaddump

Mount Point: /dcone/threaddump

POST

Response Body

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

(no documentation provided)