Class: Velocity::Instance::CollectionBroker
- Defined in:
- lib/acceleration/velocity.rb
Overview
CollectionBroker models an instance’s collection broker, which can start and stop collections on demand. It’s especially useful for when an instance has tens or hundreds of collections which cannot be simultaneously held in memory.
TODO: implement
Instance Attribute Summary
Attributes inherited from APIModel
Instance Method Summary collapse
-
#initialize ⇒ CollectionBroker
constructor
Create a new wrapper for the collection broker functions.
-
#prefix ⇒ Object
The CollectionBroker prefix is
collection-broker
.
Methods inherited from APIModel
#method_missing, #resolve, #respond_to_missing?
Constructor Details
#initialize ⇒ CollectionBroker
Create a new wrapper for the collection broker functions.
512 513 514 |
# File 'lib/acceleration/velocity.rb', line 512 def initialize raise NotImplementedError end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Velocity::Instance::APIModel
Instance Method Details
#prefix ⇒ Object
The CollectionBroker prefix is collection-broker
.
505 506 507 |
# File 'lib/acceleration/velocity.rb', line 505 def prefix 'collection-broker' end |