MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / run

Method run

JSAT/src/jsat/utils/PoisonRunnable.java:75–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 @Override
76 public void run()
77 {
78 try
79 {
80 if(lastStep != null)
81 lastStep.run();
82 if(latch != null)
83 latch.countDown();
84 if(barrier != null)
85 barrier.await();
86 }
87 catch (InterruptedException ex)
88 {
89 Logger.getLogger(PoisonRunnable.class.getName()).log(Level.SEVERE, null, ex);
90 }
91 catch (BrokenBarrierException ex)
92 {
93 Logger.getLogger(PoisonRunnable.class.getName()).log(Level.SEVERE, null, ex);
94 }
95 }
96
97}

Callers 2

submitMethod · 0.45
executeMethod · 0.45

Calls 4

countDownMethod · 0.80
logMethod · 0.80
getNameMethod · 0.65
awaitMethod · 0.45

Tested by

no test coverage detected