public override IOperation Clone()
        {
            var cloned = new ReplicaRead <T>(Key, Transcoder, VBucket, Opaque, Timeout)
            {
                Attempts     = Attempts,
                Cas          = Cas,
                CreationTime = CreationTime
            };

            return(cloned);
        }
Esempio n. 2
0
        public override IOperation Clone()
        {
            var cloned = new ReplicaRead <T>(Key, Transcoder, VBucket, Opaque, Timeout)
            {
                Attempts                = Attempts,
                Cas                     = Cas,
                CreationTime            = CreationTime,
                LastConfigRevisionTried = LastConfigRevisionTried,
                BucketName              = BucketName,
                ErrorCode               = ErrorCode
            };

            return(cloned);
        }