public synchronized void registerName(String name) {
        if (names.indexOf(name) >= 0) {
            return;
        }
        names.add(name);
        pending.add(name);
        discard(unreg, name);
        updateTask.scheduleNow();
        transportThread.wakeup();
    }
Register a service with the slobrok cluster.

@param name service name
jrt/src/com/yahoo/jrt/slobrok/api/Register.java