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