Esempio n. 1
0
        /** <inheritdoc /> */
        public IAtomicSequence GetAtomicSequence(string name, long initialValue, bool create)
        {
            IgniteArgumentCheck.NotNullOrEmpty(name, "name");

            var nativeSeq = UU.ProcessorAtomicSequence(_proc, name, initialValue, create);

            if (nativeSeq == null)
            {
                return(null);
            }

            return(new AtomicSequence(nativeSeq, Marshaller, name));
        }