public static void set(String name, long value){
        String id = null;
        try{
            id = Locks.lockEntityQuite(new StorageId(NumberSequence.class, null, null, name), 30, TimeUnit.SECONDS);
            DDSCluster.call(new MessageBean(NumberSequence.class, null, null, name, "set",
                    Objects.newHashMap(String.class, Object.class, "value", value)));
        }finally {
            Locks.releaseLock(id);
        }
    }
public static void set ( String name , long value ) { String id = null ; try { id = Locks . lockEntityQuite ( new StorageId ( NumberSequence . class , null , null , name ) , 30 , TimeUnit . SECONDS ) ; DDSCluster . call ( new MessageBean ( NumberSequence . class , null , null , name , "set" , Objects . newHashMap ( String . class , Object . class , "value" , value ) ) ) ; } finally { Locks . releaseLock ( id ) ; } }
@param name
@param value