public final class org.apache.axiom.attachments.AttachmentCacheMonitor extends java.lang.Object
{
static org.apache.commons.logging.Log log;
private int attachmentTimeoutSeconds;
private int refreshSeconds;
public static final java.lang.String ATTACHMENT_TIMEOUT_PROPERTY;
private java.util.Map files;
private java.lang.Long priorDeleteMillis;
private java.util.Timer timer;
private static org.apache.axiom.attachments.AttachmentCacheMonitor _singleton;
public static synchronized org.apache.axiom.attachments.AttachmentCacheMonitor getAttachmentCacheMonitor()
{
org.apache.axiom.attachments.AttachmentCacheMonitor v, v, v;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.axiom.attachments.AttachmentCacheMonitor _singleton>;
if v != null goto label;
v = new org.apache.axiom.attachments.AttachmentCacheMonitor;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: void <init>()>();
<org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.axiom.attachments.AttachmentCacheMonitor _singleton> = v;
label:
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.axiom.attachments.AttachmentCacheMonitor _singleton>;
return v;
}
private void <init>()
{
java.lang.Throwable v;
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.util.HashMap v;
java.util.Timer v, v;
java.lang.Integer v;
java.lang.Long v;
int v, v, v, v, v, v, v, v, v, v;
java.lang.String v, v, v;
boolean v, v;
org.apache.axiom.attachments.AttachmentCacheMonitor$CleanupFilesTask v;
org.apache.commons.logging.Log v, v, v, v, v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds> = 0;
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds> = 0;
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>()>();
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Map files> = v;
v = specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long getTime()>();
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long priorDeleteMillis> = v;
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer> = null;
v = "";
label:
v = staticinvoke <java.lang.System: java.lang.String getProperty(java.lang.String,java.lang.String)>("org.apache.axiom.attachments.tempfile.expiration", "0");
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(java.lang.String)>(v);
v = virtualinvoke v.<java.lang.Integer: int intValue()>();
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds> = v;
label:
goto label;
label:
v := @caughtexception;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,int)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("The value of \u was not valid. The default \u will be used instead.");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = v / 2;
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds> = v;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>("Custom Property Key =  org.apache.axiom.attachments.tempfile.expiration");
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("              Value = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
if v <= 0 goto label;
v = new java.util.Timer;
specialinvoke v.<java.util.Timer: void <init>(boolean)>(1);
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer> = v;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer>;
v = new org.apache.axiom.attachments.AttachmentCacheMonitor$CleanupFilesTask;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor$CleanupFilesTask: void <init>(org.apache.axiom.attachments.AttachmentCacheMonitor)>(v);
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
v = v * 1000;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
v = v * 1000;
virtualinvoke v.<java.util.Timer: void schedule(java.util.TimerTask,long,long)>(v, v, v);
label:
return;
catch java.lang.Throwable from label to label with label;
}
public synchronized int getTimeout()
{
int v;
org.apache.axiom.attachments.AttachmentCacheMonitor v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
return v;
}
public synchronized void setTimeout(int)
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.util.Timer v, v, v, v;
int v, v, v, v, v, v, v, v, v, v, v;
java.lang.String v, v;
boolean v;
org.apache.axiom.attachments.AttachmentCacheMonitor$CleanupFilesTask v;
org.apache.commons.logging.Log v, v, v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: int;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
if v != v goto label;
return;
label:
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds> = v;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = v / 2;
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds> = v;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer>;
if v == null goto label;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer>;
virtualinvoke v.<java.util.Timer: void cancel()>();
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer> = null;
label:
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
if v <= 0 goto label;
v = new java.util.Timer;
specialinvoke v.<java.util.Timer: void <init>(boolean)>(1);
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer> = v;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Timer timer>;
v = new org.apache.axiom.attachments.AttachmentCacheMonitor$CleanupFilesTask;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor$CleanupFilesTask: void <init>(org.apache.axiom.attachments.AttachmentCacheMonitor)>(v);
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
v = v * 1000;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
v = v * 1000;
virtualinvoke v.<java.util.Timer: void schedule(java.util.TimerTask,long,long)>(v, v, v);
label:
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("New timeout = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("New refresh = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
return;
}
public void register(java.lang.String)
{
int v;
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.lang.String v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.String;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
if v <= 0 goto label;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: void _register(java.lang.String)>(v);
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: void _checkForAgedFiles()>();
label:
return;
}
public void access(java.lang.String)
{
int v;
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.lang.String v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.String;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
if v <= 0 goto label;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: void _access(java.lang.String)>(v);
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: void _checkForAgedFiles()>();
label:
return;
}
public void checkForAgedFiles()
{
int v;
org.apache.axiom.attachments.AttachmentCacheMonitor v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
if v <= 0 goto label;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: void _checkForAgedFiles()>();
label:
return;
}
private synchronized void _register(java.lang.String)
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.lang.Long v;
java.util.Map v;
org.apache.commons.logging.Log v, v, v;
java.lang.String v, v, v;
boolean v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.String;
v = specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long getTime()>();
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Register file \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.Long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Time = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Map files>;
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
return;
}
private synchronized void _access(java.lang.String)
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.lang.Long v;
java.util.Map v, v;
int v;
java.lang.String v, v, v, v, v, v;
boolean v, v;
java.lang.Object v;
org.apache.commons.logging.Log v, v, v, v, v, v, v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.String;
v = specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long getTime()>();
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Map files>;
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
if v == null goto label;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Map files>;
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Access file \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.Long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Old Time = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.Long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("New Time = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
goto label;
label:
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("The following file was already deleted and is no longer available: \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("The value of org.apache.axiom.attachments.tempfile.expiration is \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
return;
}
private synchronized void _checkForAgedFiles()
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
long v, v, v;
java.lang.Long v, v;
java.util.Map v, v;
int v, v;
java.lang.String v, v, v, v;
boolean v, v, v, v;
java.util.Iterator v;
java.util.Set v;
java.lang.Object v, v;
org.apache.commons.logging.Log v, v, v, v, v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v = specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long getTime()>();
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long priorDeleteMillis>;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int refreshSeconds>;
v = specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: boolean isExpired(java.lang.Long,java.lang.Long,int)>(v, v, v);
if v == 0 goto label;
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Map files>;
v = interfaceinvoke v.<java.util.Map: java.util.Set keySet()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.util.Map files>;
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
v = v.<org.apache.axiom.attachments.AttachmentCacheMonitor: int attachmentTimeoutSeconds>;
v = specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: boolean isExpired(java.lang.Long,java.lang.Long,int)>(v, v, v);
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Expired file \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.Long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Old Time = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.Long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("New Time = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = virtualinvoke v.<java.lang.Long: long longValue()>();
v = virtualinvoke v.<java.lang.Long: long longValue()>();
v = v - v;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (long)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Elapsed Time (ms) = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor: boolean deleteFile(java.lang.String)>(v);
interfaceinvoke v.<java.util.Iterator: void remove()>();
goto label;
label:
v.<org.apache.axiom.attachments.AttachmentCacheMonitor: java.lang.Long priorDeleteMillis> = v;
label:
return;
}
private boolean deleteFile(java.lang.String)
{
org.apache.axiom.attachments.AttachmentCacheMonitor$1 v;
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.lang.Object v;
java.lang.String v;
boolean v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.String;
v = new org.apache.axiom.attachments.AttachmentCacheMonitor$1;
specialinvoke v.<org.apache.axiom.attachments.AttachmentCacheMonitor$1: void <init>(org.apache.axiom.attachments.AttachmentCacheMonitor,java.lang.String)>(v, v);
v = staticinvoke <java.security.AccessController: java.lang.Object doPrivileged(java.security.PrivilegedAction)>(v);
v = virtualinvoke v.<java.lang.Boolean: boolean booleanValue()>();
return v;
}
private boolean _deleteFile(java.lang.String)
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
java.io.File v;
org.apache.commons.logging.Log v, v, v, v;
java.lang.String v, v, v;
boolean v, v, v, v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.String;
v = 0;
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<java.io.File: boolean exists()>();
if v == 0 goto label;
v = virtualinvoke v.<java.io.File: boolean delete()>();
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (boolean)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Deletion Successful ? \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
goto label;
label:
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = interfaceinvoke v.<org.apache.commons.logging.Log: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("This file no longer exists = \u0001");
interfaceinvoke v.<org.apache.commons.logging.Log: void debug(java.lang.Object)>(v);
label:
return v;
}
private java.lang.Long getTime()
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
long v;
java.lang.Long v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v = new java.lang.Long;
v = staticinvoke <java.lang.System: long currentTimeMillis()>();
specialinvoke v.<java.lang.Long: void <init>(long)>(v);
return v;
}
private boolean isExpired(java.lang.Long, java.lang.Long, int)
{
org.apache.axiom.attachments.AttachmentCacheMonitor v;
long v, v, v;
byte v;
java.lang.Long v, v;
int v, v;
boolean v;
v := @this: org.apache.axiom.attachments.AttachmentCacheMonitor;
v := @parameter: java.lang.Long;
v := @parameter: java.lang.Long;
v := @parameter: int;
v = virtualinvoke v.<java.lang.Long: long longValue()>();
v = virtualinvoke v.<java.lang.Long: long longValue()>();
v = v - v;
v = v * 1000;
v = v cmp v;
if v <= 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
static void <clinit>()
{
java.lang.Class v;
org.apache.commons.logging.Log v;
java.lang.String v;
v = class "Lorg/apache/axiom/attachments/AttachmentCacheMonitor;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = staticinvoke <org.apache.commons.logging.LogFactory: org.apache.commons.logging.Log getLog(java.lang.String)>(v);
<org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.commons.logging.Log log> = v;
<org.apache.axiom.attachments.AttachmentCacheMonitor: org.apache.axiom.attachments.AttachmentCacheMonitor _singleton> = null;
return;
}
}