code: public void removeAll(Supplier<JournalContext> ctx, String path) {
      try (LockResource r = new LockResource(mLock.writeLock())) {
        Map<String, String> properties = mState.getProperties(path);
        if (!properties.isEmpty()) {
          mState.applyAndJournal(ctx, RemovePathPropertiesEntry.newBuilder().setPath(path).build());
        }
      }
    }
docs: Removes all properties for path.
  
  @param ctx the journal context
  @param path the path