code: public Date setDatastreamState(Context context,
                                     String pid,
                                     String dsID,
                                     String dsState,
                                     String logMessage) throws ServerException {
          throw rejectCallsFromOutsideWhileInRecoveryMode();
      }
docs: Reject API calls from outside while we are in recovery mode.