From e49c2861713c10211e333d867e837e348ccdd133 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 14 Aug 2004 04:21:46 +0000 Subject: [PATCH] implement getServicePid --- bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java b/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java index a9845228..bedfd366 100644 --- a/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java +++ b/bindings/java/src/net/hyperic/sigar/SynchronizedSigar.java @@ -23,6 +23,11 @@ public class SynchronizedSigar implements SigarProxy { return this.sigar.getPid(); } + public synchronized long getServicePid(String name) + { + return this.sigar.getServicePid(name); + } + public synchronized Mem getMem() throws SigarException {