<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://ontology.pflow.xyz/ns#NetPattern> .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#altLabel> "connection pool"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#altLabel> "fixed number of workers"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#altLabel> "limited resources"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#altLabel> "semaphore"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#altLabel> "worker pool"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#altLabel> "workers"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#definition> "A fixed number of interchangeable units. acquire moves a unit from available to in_use and release moves it back, so the total never changes."@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <http://www.w3.org/2004/02/skos/core#prefLabel> "ResourcePool"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#caveat> "NewResourcePool does not check capacity; a negative or zero value is not rejected in the source read." .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#caveat> "The available port is tagged `resource`, the same tag a workflow's resource:<id> ports carry, but a saga's account ports are tagged `account`: a port-to-port token link between a pool and a saga is rejected with E_SCHEMA_MISMATCH." .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#caveat> "in_use is an anonymous count. The pool does not record which job holds a unit, so it cannot say that a given job released it." .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#composesWith> <https://ontology.pflow.xyz/pattern/queue> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#composesWith> <https://ontology.pflow.xyz/pattern/saga> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#composesWith> <https://ontology.pflow.xyz/pattern/workflow> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#compositionLayer> <https://ontology.pflow.xyz/ns#MetamodelLayer> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#constructor> "metamodel.NewResourcePool[R](name, capacity, metadata) then (*ResourcePool[R]).ToSubnet(id)" .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasInvariant> <https://ontology.pflow.xyz/pattern/resource-pool-inv-conservation> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/resource-pool-param-capacity> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/resource-pool-param-id> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/resource-pool-param-metadata> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasParameter> <https://ontology.pflow.xyz/pattern/resource-pool-param-name> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasPort> <https://ontology.pflow.xyz/pattern/resource-pool-port-acquire> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasPort> <https://ontology.pflow.xyz/pattern/resource-pool-port-available> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasPort> <https://ontology.pflow.xyz/pattern/resource-pool-port-in-use> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#hasPort> <https://ontology.pflow.xyz/pattern/resource-pool-port-release> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#intent> "at most N things can use something at once; each use takes one unit and gives it back"@en .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#netKind> "ResourceNet" .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#providedBy> <https://ontology.pflow.xyz/component/go-pflow/metamodel> .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#sourceFile> "metamodel/patterns.go" .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#sourceFile> "metamodel/patterns_compose.go" .
<https://ontology.pflow.xyz/pattern/resource-pool> <https://ontology.pflow.xyz/ns#sourceRevision> "go-pflow origin/main 69257b3" .
