Sha256: 65a00fe57580db5ad6cfb9a986aac565ad08e964e87e14cc3299bb67dc635290

Contents?: true

Size: 908 Bytes

Versions: 11

Compression:

Stored size: 908 Bytes

Contents

/*
 *     Copyright 2021-Present Couchbase, Inc.
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */

#include "uid_generator.hxx"

#include "internal/transaction_attempt.hxx"

namespace couchbase::core::transactions
{
transaction_attempt::transaction_attempt()
  : id(uid_generator::next())
  , state(attempt_state::NOT_STARTED)
{
}

} // namespace couchbase::core::transactions

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
couchbase-3.5.4 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.5.3 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.5.2 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.5.1 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.5.0 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.4.5 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.4.4 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.4.3 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.4.2 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.4.1 ext/couchbase/core/transactions/transaction_attempt.cxx
couchbase-3.4.0 ext/couchbase/core/transactions/transaction_attempt.cxx