MCPcopy Create free account
hub / github.com/andytill/erlyberly / getProcessState

Method getProcessState

src/main/java/erlyberly/node/NodeAPI.java:387–396  ·  view source on GitHub ↗
(String pidString)

Source from the content-addressed store, hash-verified

385 }
386
387 public synchronized OtpErlangObject getProcessState(String pidString) throws IOException, OtpErlangException {
388 sendRPC("erlyberly", "get_process_state", list(pidString));
389
390 OtpErlangObject result = receiveRPC();
391
392 if(isTupleTagged(OK_ATOM, result)) {
393 return ((OtpErlangTuple)result).elementAt(1);
394 }
395 return null;
396 }
397
398 public synchronized HashMap<Object, Object> erlangMemory() throws IOException, OtpErlangException {
399 sendRPC("erlang", "memory", list());

Callers 1

runMethod · 0.80

Calls 4

sendRPCMethod · 0.95
receiveRPCMethod · 0.95
listMethod · 0.80
isTupleTaggedMethod · 0.80

Tested by

no test coverage detected