Describes the JRubyPuppet provider service which pools JRubyPuppet instances.
Describes the JRubyPuppet provider service which pools JRubyPuppet instances.
(get-plan-data this jruby-instance env-name module-name plan-name)Get information (:metadata_file and :files) for a specific plan. Returns a JRuby hash.
Get information (:metadata_file and :files) for a specific plan. Returns a JRuby hash.
(get-plans this jruby-instance env-name)Get list of plan names and environment information.
Get list of plan names and environment information.
(compile-catalog this jruby-instance request-options)Compile the catalog for a given certname
Compile the catalog for a given certname
(get-cached-content-version this env-name info-service)Get the cached content version for a specific service's cache within an environment. If no entry for the environment had existed at the point this function was called this function would, as a side effect, populate a new entry for that environment into the cache.
Get the cached content version for a specific service's cache within an environment. If no entry for the environment had existed at the point this function was called this function would, as a side effect, populate a new entry for that environment into the cache.
(get-pool-context this)Get the pool context out of the service context.
Get the pool context out of the service context.
(mark-environment-expired! this env-name)Mark the specified environment expired, in all JRuby instances. Resets the cached class info for the environment's 'tag' to nil and increments the 'cache-generation-id' value.
Mark the specified environment expired, in all JRuby instances. Resets the cached class info for the environment's 'tag' to nil and increments the 'cache-generation-id' value.
(get-cached-info-tag this env-name info-service)Get a tag for the latest information parsed for a specific environment and info service
Get a tag for the latest information parsed for a specific environment and info service
(set-cache-info-tag! this env-name info-service-id tag initial-content-version)Set the tag computed for the latest info service parsed for a
specific environment. initial-content-version should represent what the
client received for a get-cached-content-version call for the
environment made before it started doing the work to parse environment
info & compute the new tag.
If initial-content-version equals the value stored in the cache for the environment, the new 'tag' will be stored for the environment and the corresponding content version will be incremented.
Set the tag computed for the latest info service parsed for a specific environment. initial-content-version should represent what the client received for a `get-cached-content-version` call for the environment made before it started doing the work to parse environment info & compute the new tag. If initial-content-version equals the value stored in the cache for the environment, the new 'tag' will be stored for the environment and the corresponding content version will be incremented.
(free-instance-count this)The number of free JRubyPuppet instances left in the pool.
The number of free JRubyPuppet instances left in the pool.
(compile-ast this jruby-instance compile-options boltlib-path)Compiles arbitrary Puppet ASTs into mini catalogs
Compiles arbitrary Puppet ASTs into mini catalogs
(get-jruby-thread-dump this)Return a thread dump for each JRuby instance registered to the pool.
Return a thread dump for each JRuby instance registered to the pool.
(get-task-data this jruby-instance env-name module-name task-name)Get information (:metadata_file and :files) for a specific task. Returns a JRuby hash.
Get information (:metadata_file and :files) for a specific task. Returns a JRuby hash.
(mark-all-environments-expired! this)Mark all cached environments expired, in all JRuby instances. Resets the cached class info for all previously stored environment 'tags' to nil and increments the 'cache-generation-id' value.
Mark all cached environments expired, in all JRuby instances. Resets the cached class info for all previously stored environment 'tags' to nil and increments the 'cache-generation-id' value.
(get-environment-module-info this jruby-instance env-name)Get module information for a specific environment
Get module information for a specific environment
(get-environment-class-info-tag this env-name)DEPRECATED: see get-cached-info-tag
Get a tag for the latest class information parsed for a specific environment
DEPRECATED: see get-cached-info-tag Get a tag for the latest class information parsed for a specific environment
(get-environment-class-info this jruby-instance env-name)Get class information for a specific environment
Get class information for a specific environment
(flush-jruby-pool! this)Flush all the current JRuby instances and repopulate the pool.
Flush all the current JRuby instances and repopulate the pool.
(get-tasks this jruby-instance env-name)Get list of task names and environment information.
Get list of task names and environment information.
(set-environment-class-info-tag! this
env-name
tag
cache-generation-id-before-tag-computed)DEPRECATED: see set-cache-info-tag!
Set the tag computed for the latest class information parsed for a specific environment. cache-generation-id-before-tag-computed should represent what the client received for a 'get-environment-class-info-cache-generation-id!' call for the environment made before it started doing the work to parse environment class info / compute the new tag. If cache-generation-id-before-tag-computed equals the 'cache-generation-id' value stored in the cache for the environment, the new 'tag' will be stored for the environment and the corresponding 'cache-generation-id' value will be incremented. If cache-generation-id-before-tag-computed is different than the 'cache-generation-id' value stored in the cache for the environment, the cache will remain unchanged as a result of this call.
DEPRECATED: see `set-cache-info-tag!` Set the tag computed for the latest class information parsed for a specific environment. cache-generation-id-before-tag-computed should represent what the client received for a 'get-environment-class-info-cache-generation-id!' call for the environment made before it started doing the work to parse environment class info / compute the new tag. If cache-generation-id-before-tag-computed equals the 'cache-generation-id' value stored in the cache for the environment, the new 'tag' will be stored for the environment and the corresponding 'cache-generation-id' value will be incremented. If cache-generation-id-before-tag-computed is different than the 'cache-generation-id' value stored in the cache for the environment, the cache will remain unchanged as a result of this call.
(get-environment-transport-info this jruby-instance env-name)Get transport information for a specific environment
Get transport information for a specific environment
(get-environment-class-info-cache-generation-id! this env-name)DEPRECATED: see get-cache-content-version
Get the current cache generation id for a specific environment's class info. If no entry for the environment had existed at the point this function was called this function would, as a side effect, populate a new entry for that environment into the cache.
DEPRECATED: see `get-cache-content-version` Get the current cache generation id for a specific environment's class info. If no entry for the environment had existed at the point this function was called this function would, as a side effect, populate a new entry for that environment into the cache.
(get-all-environment-module-info this jruby-instance)Get all module information for all environments
Get all module information for all environments
(register-event-handler this callback)Register a callback function to receive notifications when JRuby service events occur. The callback fn should accept a single arg, which will conform to the JRubyEvent schema.
Register a callback function to receive notifications when JRuby service events occur. The callback fn should accept a single arg, which will conform to the JRubyEvent schema.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |