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:



29
30
31
# File 'lib/couchbase/mutation_state.rb', line 29

def initialize
  yield self if block_given?
end

Instance Attribute Details

#bucket_nameString

Returns name of the bucket.

Returns:

  • (String)

    name of the bucket



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

def bucket_name
  @bucket_name
end

#partition_idInteger

Returns:

  • (Integer)


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

def partition_id
  @partition_id
end

#partition_uuidInteger

Returns:

  • (Integer)


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

def partition_uuid
  @partition_uuid
end

#sequence_numberInteger

Returns:

  • (Integer)


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

def sequence_number
  @sequence_number
end