RDF.BlankNode.Generator (RDF.ex v0.9.0) View Source
A GenServer generates RDF.BlankNode
s using a RDF.BlankNode.Generator.Algorithm
.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Generates a new blank node according to the RDF.BlankNode.Generator.Algorithm
set up.
Generates a blank node for a given value according to the RDF.BlankNode.Generator.Algorithm
set up.
Starts a blank node generator process without links (outside of a supervision tree).
Starts a blank node generator linked to the current process.
Synchronously stops the blank node generator with the given reason
.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Generates a new blank node according to the RDF.BlankNode.Generator.Algorithm
set up.
Generates a blank node for a given value according to the RDF.BlankNode.Generator.Algorithm
set up.
Starts a blank node generator process without links (outside of a supervision tree).
The state will be initialized according to the given RDF.BlankNode.Generator.Algorithm
.
Starts a blank node generator linked to the current process.
The state will be initialized according to the given RDF.BlankNode.Generator.Algorithm
.
Synchronously stops the blank node generator with the given reason
.
It returns :ok
if the agent terminates with the given reason. If the agent
terminates with another reason, the call will exit.
This function keeps OTP semantics regarding error reporting.
If the reason is any other than :normal
, :shutdown
or {:shutdown, _}
, an
error report will be logged.