@Override
    public int getLockCount() {
        return (int) metaMap.values().stream().filter(data -> Status.LOCKED.equals(data.getStatus())).count();
    }
This id is used to emulate the primary key on the database.
stroom-meta/stroom-meta-mock/src/main/java/stroom/meta/mock/MockMetaService.java