git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 96cc28657744a5caf2d74c1bec4cbfe3c1252da2

Files: 96cc28657744a5caf2d74c1bec4cbfe3c1252da2 / docs / hypervisor.md

4474 bytesRaw

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

Table of Contents

constructor

index.js:16-29

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

Parameters

addNodeToCheck

index.js:35-37

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

Parameters

getDestPort

index.js:44-51

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

Parameters

Returns Promise

getInstance

index.js:105-116

gets an existsing container instances

Parameters

Returns Promise

createInstance

index.js:128-165

creates an new container instances and save it in the state

Parameters

Returns Promise

createStateRoot

index.js:187-196

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

Parameters

Returns Promise

registerContainer

index.js:204-209

regirsters a container with the hypervisor

Parameters

Built with git-ssb-web