public ClientIdGeneratorProxy(string serviceName, string objectId, IAtomicLong atomicLong) : base(serviceName, objectId) { _atomicLong = atomicLong; _residue = new AtomicInteger(BlockSize); _local = new AtomicLong(-1); }
protected override void OnDestroy() { atomicLong.Destroy(); residue = null; local = null; }