code: @Override
      public int size() {
          registryLock.readLock().lock();
          try {
              return entryMap.size();
          } finally {
              registryLock.readLock().unlock();
          }
      }
docs: {@inheritDoc}
  
  @return {@inheritDoc}