(self)
return self.__max_staleness
The maximum estimated length of time (in seconds) a replica set
        secondary can fall behind the primary in replication before it will
        no longer be selected for operations, or -1 for no maximum.
The maximum estimated length of time (in seconds) a replica set
        secondary can fall behind the primary in replication before it will
        no longer be selected for operations, or -1 for no maximum.
The maximum estimated length of time ( in seconds ) a replica set secondary can fall behind the primary in replication before it will no longer be selected for operations or - 1 for no maximum .
def max_staleness(self):
        """The maximum estimated length of time (in seconds) a replica set
        secondary can fall behind the primary in replication before it will
        no longer be selected for operations, or -1 for no maximum."""
        return self.__max_staleness
def max_staleness ( self ) : return self . __max_staleness