code: protected void setWatermarks(long nextLowWatermark, long nextHighWatermark)
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.entry(tc, "setWatermarks",
                          new Object[] { new Long(nextLowWatermark), new Long(nextHighWatermark) });
  
          try
          {
              setWatermarks(nextLowWatermark, nextHighWatermark, -1, -1);
          } catch (MessageStoreException e) {
              // MessageStoreException shouldn't occur so FFDC.
              FFDCFilter.processException(
                                          e,
                                          "com.ibm.ws.sib.processor.impl.store.itemstreams.BaseMessageItemStream.setWatermarks",
                                          "1:702:1.24",
                                          this);
  
              SibTr.exception(tc, e);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
              SibTr.exit(tc, "setWatermarks");
      }
docs: Set the MsgStore watermarks so that we get informed the next time the message
  depth crosses either of them (510343)
  
  @param currentDepth
  @throws SevereMessageStoreException
  @throws NotInMessageStore