Class: Upkeep::Invalidation::Planner::PlannedTarget

Inherits:
Data
  • Object
show all
Defined in:
lib/upkeep/invalidation/planner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def action
  @action
end

#deoptimization_reasonObject (readonly)

Returns the value of attribute deoptimization_reason

Returns:

  • (Object)

    the current value of deoptimization_reason



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def deoptimization_reason
  @deoptimization_reason
end

#frame_idObject (readonly)

Returns the value of attribute frame_id

Returns:

  • (Object)

    the current value of frame_id



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def frame_id
  @frame_id
end

#identity_signatureObject (readonly)

Returns the value of attribute identity_signature

Returns:

  • (Object)

    the current value of identity_signature



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def identity_signature
  @identity_signature
end

#matched_dependency_keysObject (readonly)

Returns the value of attribute matched_dependency_keys

Returns:

  • (Object)

    the current value of matched_dependency_keys



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def matched_dependency_keys
  @matched_dependency_keys
end

#recipeObject (readonly)

Returns the value of attribute recipe

Returns:

  • (Object)

    the current value of recipe



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def recipe
  @recipe
end

#sharing_signatureObject (readonly)

Returns the value of attribute sharing_signature

Returns:

  • (Object)

    the current value of sharing_signature



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def sharing_signature
  @sharing_signature
end

#subscriber_idObject (readonly)

Returns the value of attribute subscriber_id

Returns:

  • (Object)

    the current value of subscriber_id



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def subscriber_id
  @subscriber_id
end

#subscriber_idsObject (readonly)

Returns the value of attribute subscriber_ids

Returns:

  • (Object)

    the current value of subscriber_ids



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def subscriber_ids
  @subscriber_ids
end

#subscription_idObject (readonly)

Returns the value of attribute subscription_id

Returns:

  • (Object)

    the current value of subscription_id



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def subscription_id
  @subscription_id
end

#targetObject (readonly)

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



8
9
10
# File 'lib/upkeep/invalidation/planner.rb', line 8

def target
  @target
end

Instance Method Details

#manifest_replay?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/upkeep/invalidation/planner.rb', line 29

def manifest_replay?
  recipe.manifest_target_render?(target)
end

#renderObject



25
26
27
# File 'lib/upkeep/invalidation/planner.rb', line 25

def render
  recipe.render_target(target)
end

#represented_subscriber_countObject



21
22
23
# File 'lib/upkeep/invalidation/planner.rb', line 21

def represented_subscriber_count
  subscriber_ids.size
end