git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: b96d34ff7c58dbdbb3daa45e4639df438f669891

Files: b96d34ff7c58dbdbb3daa45e4639df438f669891 / docs / hypervisor.md

4928 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:68-78

gets an existsing container instances

Parameters

Returns Promise

createInstance

index.js:90-114

creates an new container instances and save it in the state

Parameters

Returns Promise

createStateRoot

index.js:122-129

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

Parameters

Returns Promise

registerContainer

index.js:137-142

regirsters a container with the hypervisor

Parameters

getHashFromObj

index.js:149-151

get a hash from a POJO

Parameters

Returns Promise

Built with git-ssb-web