Beispiel #1
0
    def delayedCommit(self):
        """
    Commit register to the server. Delayed commit allows to speed up
    the operation as more registers will be sent at once.
    """

        retVal = gDataStoreClient.addRegister(self)
        if not retVal['OK']:
            return retVal
        return gDataStoreClient.delayedCommit()
Beispiel #2
0
  def delayedCommit(self):
    """
    Commit register to the server. Delayed commit allows to speed up
    the operation as more registers will be sent at once.
    """

    retVal = gDataStoreClient.addRegister(self)
    if not retVal['OK']:
      return retVal
    return gDataStoreClient.delayedCommit()