diff options
Diffstat (limited to 'trove/guestagent/api.py')
-rw-r--r-- | trove/guestagent/api.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trove/guestagent/api.py b/trove/guestagent/api.py index 441df58c..c41b80f6 100644 --- a/trove/guestagent/api.py +++ b/trove/guestagent/api.py @@ -379,11 +379,17 @@ class API(object): self._call("enable_as_master", AGENT_HIGH_TIMEOUT, self.version_cap, replica_source_config=replica_source_config) + # DEPRECATED: Maintain for API Compatibility def get_txn_count(self): LOG.debug("Executing get_txn_count.") return self._call("get_txn_count", AGENT_HIGH_TIMEOUT, self.version_cap) + def get_last_txn(self): + LOG.debug("Executing get_last_txn.") + return self._call("get_last_txn", + AGENT_HIGH_TIMEOUT, self.version_cap) + def get_latest_txn_id(self): LOG.debug("Executing get_latest_txn_id.") return self._call("get_latest_txn_id", |