Class: Couchbase::MutationToken

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/mutation_state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ MutationToken

Returns a new instance of MutationToken.

Yield Parameters:



27
28
29
# File 'lib/couchbase/mutation_state.rb', line 27

def initialize
  yield self if block_given?
end

Instance Attribute Details

#bucket_nameString

Returns name of the bucket.

Returns:

  • (String)

    name of the bucket



24
25
26
# File 'lib/couchbase/mutation_state.rb', line 24

def bucket_name
  @bucket_name
end

#partition_idInteger

Returns:

  • (Integer)


18
19
20
# File 'lib/couchbase/mutation_state.rb', line 18

def partition_id
  @partition_id
end

#partition_uuidInteger

Returns:

  • (Integer)


20
21
22
# File 'lib/couchbase/mutation_state.rb', line 20

def partition_uuid
  @partition_uuid
end

#sequence_numberInteger

Returns:

  • (Integer)


22
23
24
# File 'lib/couchbase/mutation_state.rb', line 22

def sequence_number
  @sequence_number
end