From f9f8509fc1a2e48ecf14fcb02d764dcb96ba6e81 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 2 Mar 2006 01:45:51 +0000 Subject: [PATCH] leave setExpire as a deprecated stub for back-compat --- bindings/java/src/net/hyperic/sigar/SigarProxyCache.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/SigarProxyCache.java b/bindings/java/src/net/hyperic/sigar/SigarProxyCache.java index d9f5beb7..c0d668b9 100644 --- a/bindings/java/src/net/hyperic/sigar/SigarProxyCache.java +++ b/bindings/java/src/net/hyperic/sigar/SigarProxyCache.java @@ -55,6 +55,15 @@ public class SigarProxyCache SigarLog.getLogger("SigarProxyCache").debug(msg); } + /** + * @deprecated + */ + public static void setExpire(SigarProxy proxy, + String type, + int expire) + throws SigarException { + } + public static void clear(Object proxy) { SigarProxyCache handler = (SigarProxyCache)Proxy.getInvocationHandler(proxy);