search: keywords: ['java', 'odatabasedocument', 'listeners', 'unregisterlistener']
ODatabaseDocument - unregisterListener()
Unsubscribes the given listener to database events.
Using Listeners
Listeners allow you to monitor the database for particular events. For instance, if you would like certain methods to execute whenever the database closes, initiates or commits a transaction, and so on. Using this method, you can unregister an ODatabaseListener
instance with the database.
Syntax
void ODatabaseDocument().unregisterListener(ODatabaseListener listener)
Argument | Type | Description |
---|---|---|
listener | ODatabaseListener | Listener to unregister |