java.lang.Object
convex.peer.AThreadedComponent
convex.peer.CVMExecutor
Component handling CVM execution loop with a Peer Server
-
Field Summary
Fields inherited from class convex.peer.AThreadedComponent
server, thread
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPeer()
protected String
protected void
loop()
void
void
queueUpdate
(Belief belief) void
recalcState
(long pos) void
void
setUpdateHook
(Consumer<Peer> hook) void
Methods inherited from class convex.peer.AThreadedComponent
close, getLoad, start
-
Constructor Details
-
CVMExecutor
-
-
Method Details
-
loop
- Specified by:
loop
in classAThreadedComponent
- Throws:
InterruptedException
-
syncPeer
-
recalcState
public void recalcState(long pos) -
persistPeerData
- Throws:
IOException
-
getThreadName
- Specified by:
getThreadName
in classAThreadedComponent
-
setPeer
-
getPeer
-
queueUpdate
-
setUpdateHook
-