-
Notifications
You must be signed in to change notification settings - Fork 25
Triggers
v-arun edited this page Aug 2, 2019
·
1 revision
The GNS supports "triggers" that are notification requests inserted by clients asking to be notified when a field of a record is updated.
A simple example of triggers can be run as follows with a single server:
bin/gpServer.sh restart all
bin/gpClient.sh edu.umass.cs.gnsclient.examples.TriggerExample
Another example is in the test package at edu.umass.cs.gnsclient.client.singletests.TriggerTest that can be run as
ant runtest -DTest=TriggerTest