Return the number of shared objects
(self)
| 633 | conn.close() |
| 634 | |
| 635 | def _number_of_objects(self): |
| 636 | ''' |
| 637 | Return the number of shared objects |
| 638 | ''' |
| 639 | conn = self._Client(self._address, authkey=self._authkey) |
| 640 | try: |
| 641 | return dispatch(conn, None, 'number_of_objects') |
| 642 | finally: |
| 643 | conn.close() |
| 644 | |
| 645 | def __enter__(self): |
| 646 | if self._state.value == State.INITIAL: |