git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: cc90d336183a72a31a6fcc2ffcae5922a52aa792

Files: cc90d336183a72a31a6fcc2ffcae5922a52aa792 / docs / hypervisor.md

4446 bytesRaw

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Table of Contents

constructor

index.js:16-22

The Hypervisor manages the container instances by instantiating them and destorying them when possible. It also facilitates localating Containers

Parameters

addNodeToCheck

index.js:28-30

add a potaintail node in the state graph to check for garbage collection

Parameters

getDestPort

index.js:37-43

given a port, this finds the corridsponeding endpoint port of the channel

Parameters

Returns Promise

getInstance

index.js:73-83

gets an existsing container instances

Parameters

Returns Promise

createInstance

index.js:95-119

creates an new container instances and save it in the state

Parameters

Returns Promise

createStateRoot

index.js:127-134

creates a state root starting from a given container and a given number of ticks

Parameters

Returns Promise

registerContainer

index.js:142-147

regirsters a container with the hypervisor

Parameters

Built with git-ssb-web