public static DistributedLockService getOrCreateService(String serviceName,
      InternalDistributedSystem ds) {
    DistributedLockService cmsLockService = DLockService.getServiceNamed(serviceName);
    try {
      if (cmsLockService == null) {
        cmsLockService = DLockService.create(serviceName, ds, true);
      }
    } catch (IllegalArgumentException ignore) {
      return DLockService.getServiceNamed(serviceName);
    }
    return cmsLockService;
  }
Returns the serial number which identifies the static order in which this DLS was created in
relation to other DLS'es or other instances of this named DLS during the life of this JVM.
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java