public class org.apache.activemq.store.kahadb.disk.index.ListIndex extends java.lang.Object implements org.apache.activemq.store.kahadb.disk.index.Index
{
private static final org.slf4j.Logger LOG;
public static final long NOT_SET;
protected org.apache.activemq.store.kahadb.disk.page.PageFile pageFile;
protected long headPageId;
protected long tailPageId;
private java.util.concurrent.atomic.AtomicLong size;
protected java.util.concurrent.atomic.AtomicBoolean loaded;
private org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller marshaller;
private org.apache.activemq.store.kahadb.disk.util.Marshaller keyMarshaller;
private org.apache.activemq.store.kahadb.disk.util.Marshaller valueMarshaller;
private org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache;
private java.util.Map$Entry lastGetEntryCache;
private java.lang.ref.WeakReference lastCacheTxSrc;
public void <init>()
{
java.util.concurrent.atomic.AtomicLong v;
java.util.concurrent.atomic.AtomicBoolean v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
java.lang.ref.WeakReference v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.concurrent.atomic.AtomicLong;
specialinvoke v.<java.util.concurrent.atomic.AtomicLong: void <init>(long)>(0L);
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size> = v;
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>()>();
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicBoolean loaded> = v;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache> = null;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache> = null;
v = new java.lang.ref.WeakReference;
specialinvoke v.<java.lang.ref.WeakReference: void <init>(java.lang.Object)>(null);
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.ref.WeakReference lastCacheTxSrc> = v;
return;
}
public void <init>(org.apache.activemq.store.kahadb.disk.page.PageFile, long)
{
java.util.concurrent.atomic.AtomicLong v;
java.util.concurrent.atomic.AtomicBoolean v;
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
java.lang.ref.WeakReference v;
org.apache.activemq.store.kahadb.disk.page.PageFile v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.PageFile;
v := @parameter: long;
specialinvoke v.<java.lang.Object: void <init>()>();
v = new java.util.concurrent.atomic.AtomicLong;
specialinvoke v.<java.util.concurrent.atomic.AtomicLong: void <init>(long)>(0L);
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size> = v;
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>()>();
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicBoolean loaded> = v;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache> = null;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache> = null;
v = new java.lang.ref.WeakReference;
specialinvoke v.<java.lang.ref.WeakReference: void <init>(java.lang.Object)>(null);
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.ref.WeakReference lastCacheTxSrc> = v;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.page.PageFile pageFile> = v;
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void setHeadPageId(long)>(v);
return;
}
public void <init>(org.apache.activemq.store.kahadb.disk.page.PageFile, org.apache.activemq.store.kahadb.disk.page.Page)
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.page.PageFile v;
org.apache.activemq.store.kahadb.disk.page.Page v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.PageFile;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Page;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Page: long getPageId()>();
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void <init>(org.apache.activemq.store.kahadb.disk.page.PageFile,long)>(v, v);
return;
}
public synchronized void load(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
java.util.concurrent.atomic.AtomicBoolean v;
long v, v, v, v, v, v, v, v;
short v;
byte v;
int v, v;
org.apache.activemq.store.kahadb.disk.util.Marshaller v, v, v, v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
boolean v;
org.slf4j.Logger v;
java.lang.IllegalArgumentException v, v;
org.apache.activemq.store.kahadb.disk.page.Page v;
java.util.concurrent.atomic.AtomicLong v, v;
org.apache.activemq.store.kahadb.disk.index.ListNode v, v;
org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicBoolean loaded>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicBoolean: boolean compareAndSet(boolean,boolean)>(0, 1);
if v == 0 goto label;
v = <org.apache.activemq.store.kahadb.disk.index.ListIndex: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void debug(java.lang.String)>("loading");
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller keyMarshaller>;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("The key marshaller must be set before loading the ListIndex");
throw v;
label:
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller valueMarshaller>;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("The value marshaller must be set before loading the ListIndex");
throw v;
label:
v = new org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller keyMarshaller>;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller valueMarshaller>;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller: void <init>(org.apache.activemq.store.kahadb.disk.util.Marshaller,org.apache.activemq.store.kahadb.disk.util.Marshaller)>(v, v);
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller marshaller> = v;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long getHeadPageId()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Transaction: org.apache.activemq.store.kahadb.disk.page.Page load(long,org.apache.activemq.store.kahadb.disk.util.Marshaller)>(v, null);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Page: short getType()>();
if v != 0 goto label;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode createNode(org.apache.activemq.store.kahadb.disk.page.Page)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void storeNode(org.apache.activemq.store.kahadb.disk.page.Transaction,org.apache.activemq.store.kahadb.disk.index.ListNode,boolean)>(v, v, 1);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Page: long getPageId()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void setHeadPageId(long)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long getHeadPageId()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void setTailPageId(long)>(v);
goto label;
label:
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long getHeadPageId()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode loadNode(org.apache.activemq.store.kahadb.disk.page.Transaction,long)>(v, v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long getHeadPageId()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void setTailPageId(long)>(v);
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: int size(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long addAndGet(long)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void onLoad(org.apache.activemq.store.kahadb.disk.index.ListNode,org.apache.activemq.store.kahadb.disk.page.Transaction)>(v, v);
label:
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: long getNext()>();
v = v cmp -1L;
if v == 0 goto label;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: long getNext()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode loadNode(org.apache.activemq.store.kahadb.disk.page.Transaction,long)>(v, v);
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: int size(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long addAndGet(long)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void onLoad(org.apache.activemq.store.kahadb.disk.index.ListNode,org.apache.activemq.store.kahadb.disk.page.Transaction)>(v, v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: long getPageId()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void setTailPageId(long)>(v);
goto label;
label:
return;
}
protected void onLoad(org.apache.activemq.store.kahadb.disk.index.ListNode, org.apache.activemq.store.kahadb.disk.page.Transaction)
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.index.ListNode;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
return;
}
public synchronized void unload(org.apache.activemq.store.kahadb.disk.page.Transaction)
{
java.util.concurrent.atomic.AtomicBoolean v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
boolean v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicBoolean loaded>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicBoolean: boolean compareAndSet(boolean,boolean)>(1, 0);
return;
}
protected org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long getHeadPageId()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode loadNode(org.apache.activemq.store.kahadb.disk.page.Transaction,long)>(v, v);
return v;
}
protected org.apache.activemq.store.kahadb.disk.index.ListNode getTail(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long getTailPageId()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode loadNode(org.apache.activemq.store.kahadb.disk.page.Transaction,long)>(v, v);
return v;
}
public synchronized boolean containsKey(org.apache.activemq.store.kahadb.disk.page.Transaction, java.lang.Object) throws java.io.IOException
{
java.util.Iterator v;
long v;
java.util.concurrent.atomic.AtomicLong v;
byte v;
java.lang.Object v, v, v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
boolean v, v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: java.lang.Object;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void assertLoaded()>();
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long get()>();
v = v cmp 0L;
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
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 = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
return 1;
label:
return 0;
}
public synchronized java.lang.Object get(org.apache.activemq.store.kahadb.disk.page.Transaction, java.lang.Object) throws java.io.IOException
{
java.util.Iterator v;
java.lang.Object v, v, v, v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
java.lang.ref.WeakReference v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
boolean v, v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: java.lang.Object;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void assertLoaded()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
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 = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode$ListIterator: org.apache.activemq.store.kahadb.disk.index.ListNode getCurrent()>();
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache> = v;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache> = v;
v = new java.lang.ref.WeakReference;
specialinvoke v.<java.lang.ref.WeakReference: void <init>(java.lang.Object)>(v);
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.ref.WeakReference lastCacheTxSrc> = v;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
return v;
label:
return null;
}
public synchronized java.lang.Object put(org.apache.activemq.store.kahadb.disk.page.Transaction, java.lang.Object, java.lang.Object) throws java.io.IOException
{
boolean v, v, v, v, v, v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
java.lang.ref.WeakReference v;
java.util.Map$Entry v, v, v;
java.util.Iterator v, v;
java.lang.Object v, v, v, v, v, v, v, v, v, v, v, v;
org.apache.activemq.store.kahadb.disk.index.ListNode v, v, v, v, v, v, v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: java.lang.Object;
v := @parameter: java.lang.Object;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
if v == null goto label;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.ref.WeakReference lastCacheTxSrc>;
v = virtualinvoke v.<java.lang.ref.WeakReference: java.lang.Object get()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache>;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object setValue(java.lang.Object)>(v);
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache>;
interfaceinvoke v.<java.util.Map$Entry: java.lang.Object setValue(java.lang.Object)>(v);
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void storeUpdate(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return v;
label:
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
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 = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object setValue(java.lang.Object)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode$ListIterator: org.apache.activemq.store.kahadb.disk.index.ListNode getCurrent()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void storeUpdate(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return v;
label:
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
label:
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode$ListIterator: org.apache.activemq.store.kahadb.disk.index.ListNode getCurrent()>();
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
if v == v goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object setValue(java.lang.Object)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode$ListIterator: org.apache.activemq.store.kahadb.disk.index.ListNode getCurrent()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void storeUpdate(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return v;
label:
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.Object add(org.apache.activemq.store.kahadb.disk.page.Transaction,java.lang.Object,java.lang.Object)>(v, v, v);
return v;
}
public synchronized java.lang.Object add(org.apache.activemq.store.kahadb.disk.page.Transaction, java.lang.Object, java.lang.Object) throws java.io.IOException
{
java.util.concurrent.atomic.AtomicLong v;
java.lang.Object v, v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: java.lang.Object;
v := @parameter: java.lang.Object;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void assertLoaded()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getTail(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.lang.Object put(org.apache.activemq.store.kahadb.disk.page.Transaction,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long incrementAndGet()>();
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return null;
}
public synchronized java.lang.Object addFirst(org.apache.activemq.store.kahadb.disk.page.Transaction, java.lang.Object, java.lang.Object) throws java.io.IOException
{
java.util.concurrent.atomic.AtomicLong v;
java.lang.Object v, v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: java.lang.Object;
v := @parameter: java.lang.Object;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void assertLoaded()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.lang.Object addFirst(org.apache.activemq.store.kahadb.disk.page.Transaction,java.lang.Object,java.lang.Object)>(v, v, v);
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long incrementAndGet()>();
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return null;
}
public synchronized java.lang.Object remove(org.apache.activemq.store.kahadb.disk.page.Transaction, java.lang.Object) throws java.io.IOException
{
long v;
byte v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
java.lang.ref.WeakReference v;
boolean v, v, v, v, v;
java.util.Iterator v, v;
java.util.concurrent.atomic.AtomicLong v;
java.lang.Object v, v, v, v, v, v, v, v;
org.apache.activemq.store.kahadb.disk.index.ListNode v, v, v, v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: java.lang.Object;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void assertLoaded()>();
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long get()>();
v = v cmp 0L;
if v != 0 goto label;
return null;
label:
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
if v == null goto label;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.ref.WeakReference lastCacheTxSrc>;
v = virtualinvoke v.<java.lang.ref.WeakReference: java.lang.Object get()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
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 = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
interfaceinvoke v.<java.util.Iterator: void remove()>();
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
return v;
label:
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
label:
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode$ListIterator: org.apache.activemq.store.kahadb.disk.index.ListNode getCurrent()>();
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache>;
if v == v goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getKey()>();
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
interfaceinvoke v.<java.util.Iterator: void remove()>();
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
v = interfaceinvoke v.<java.util.Map$Entry: java.lang.Object getValue()>();
return v;
label:
return null;
}
public void onRemove(java.util.Map$Entry)
{
java.util.concurrent.atomic.AtomicLong v;
java.util.Map$Entry v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: java.util.Map$Entry;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long decrementAndGet()>();
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return;
}
public boolean isTransient()
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
return 0;
}
public synchronized void clear(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
java.util.concurrent.atomic.AtomicLong v;
java.util.Iterator v;
java.lang.Object v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
boolean v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Iterator listNodeIterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void clear(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Transaction: void commit()>();
goto label;
label:
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: void set(long)>(0L);
return;
}
public synchronized java.util.Iterator listNodeIterator(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
java.util.Iterator v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Iterator listNodeIterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
return v;
}
public synchronized boolean isEmpty(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
boolean v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: boolean isEmpty(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
return v;
}
public synchronized java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
java.util.Iterator v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
return v;
}
public synchronized java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction, long) throws java.io.IOException
{
java.util.Iterator v;
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: long;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Iterator iterator(org.apache.activemq.store.kahadb.disk.page.Transaction,long)>(v, v);
return v;
}
public synchronized java.util.Map$Entry getFirst(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
java.util.Map$Entry v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getHead(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Map$Entry getFirst(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
return v;
}
public synchronized java.util.Map$Entry getLast(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
java.util.Map$Entry v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode getTail(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: java.util.Map$Entry getLast(org.apache.activemq.store.kahadb.disk.page.Transaction)>(v);
return v;
}
private void assertLoaded() throws java.lang.IllegalStateException
{
java.lang.IllegalStateException v;
java.util.concurrent.atomic.AtomicBoolean v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
boolean v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicBoolean loaded>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicBoolean: boolean get()>();
if v != 0 goto label;
v = new java.lang.IllegalStateException;
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>("TheListIndex is not loaded");
throw v;
label:
return;
}
org.apache.activemq.store.kahadb.disk.index.ListNode loadNode(org.apache.activemq.store.kahadb.disk.page.Transaction, long) throws java.io.IOException
{
java.lang.Object v;
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
org.apache.activemq.store.kahadb.disk.page.Page v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: long;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller marshaller>;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Transaction: org.apache.activemq.store.kahadb.disk.page.Page load(long,org.apache.activemq.store.kahadb.disk.util.Marshaller)>(v, v);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Page: java.lang.Object get()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void setPage(org.apache.activemq.store.kahadb.disk.page.Page)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void setContainingList(org.apache.activemq.store.kahadb.disk.index.ListIndex)>(v);
return v;
}
org.apache.activemq.store.kahadb.disk.index.ListNode createNode(org.apache.activemq.store.kahadb.disk.page.Page) throws java.io.IOException
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Page v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Page;
v = new org.apache.activemq.store.kahadb.disk.index.ListNode;
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void <init>()>();
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void setPage(org.apache.activemq.store.kahadb.disk.page.Page)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Page: void set(java.lang.Object)>(v);
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: void setContainingList(org.apache.activemq.store.kahadb.disk.index.ListIndex)>(v);
return v;
}
public org.apache.activemq.store.kahadb.disk.index.ListNode createNode(org.apache.activemq.store.kahadb.disk.page.Transaction) throws java.io.IOException
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
org.apache.activemq.store.kahadb.disk.page.Page v, v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Transaction: org.apache.activemq.store.kahadb.disk.page.Page allocate()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Page: long getPageId()>();
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Transaction: org.apache.activemq.store.kahadb.disk.page.Page load(long,org.apache.activemq.store.kahadb.disk.util.Marshaller)>(v, null);
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode createNode(org.apache.activemq.store.kahadb.disk.page.Page)>(v);
return v;
}
public void storeNode(org.apache.activemq.store.kahadb.disk.page.Transaction, org.apache.activemq.store.kahadb.disk.index.ListNode, boolean) throws java.io.IOException
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.index.ListNode v;
org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller v;
org.apache.activemq.store.kahadb.disk.page.Transaction v;
boolean v;
org.apache.activemq.store.kahadb.disk.page.Page v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.Transaction;
v := @parameter: org.apache.activemq.store.kahadb.disk.index.ListNode;
v := @parameter: boolean;
v = virtualinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListNode: org.apache.activemq.store.kahadb.disk.page.Page getPage()>();
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode$NodeMarshaller marshaller>;
virtualinvoke v.<org.apache.activemq.store.kahadb.disk.page.Transaction: void store(org.apache.activemq.store.kahadb.disk.page.Page,org.apache.activemq.store.kahadb.disk.util.Marshaller,boolean)>(v, v, v);
specialinvoke v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: void flushCache()>();
return;
}
public org.apache.activemq.store.kahadb.disk.page.PageFile getPageFile()
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.page.PageFile v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.page.PageFile pageFile>;
return v;
}
public void setPageFile(org.apache.activemq.store.kahadb.disk.page.PageFile)
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
org.apache.activemq.store.kahadb.disk.page.PageFile v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.page.PageFile;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.page.PageFile pageFile> = v;
return;
}
public long getHeadPageId()
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long headPageId>;
return v;
}
public void setHeadPageId(long)
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: long;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long headPageId> = v;
return;
}
public org.apache.activemq.store.kahadb.disk.util.Marshaller getKeyMarshaller()
{
org.apache.activemq.store.kahadb.disk.util.Marshaller v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller keyMarshaller>;
return v;
}
public void setKeyMarshaller(org.apache.activemq.store.kahadb.disk.util.Marshaller)
{
org.apache.activemq.store.kahadb.disk.util.Marshaller v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.util.Marshaller;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller keyMarshaller> = v;
return;
}
public org.apache.activemq.store.kahadb.disk.util.Marshaller getValueMarshaller()
{
org.apache.activemq.store.kahadb.disk.util.Marshaller v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller valueMarshaller>;
return v;
}
public void setValueMarshaller(org.apache.activemq.store.kahadb.disk.util.Marshaller)
{
org.apache.activemq.store.kahadb.disk.util.Marshaller v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: org.apache.activemq.store.kahadb.disk.util.Marshaller;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.util.Marshaller valueMarshaller> = v;
return;
}
public void setTailPageId(long)
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v := @parameter: long;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long tailPageId> = v;
return;
}
public long getTailPageId()
{
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: long tailPageId>;
return v;
}
public long size()
{
java.util.concurrent.atomic.AtomicLong v;
long v;
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.concurrent.atomic.AtomicLong size>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicLong: long get()>();
return v;
}
private void flushCache()
{
org.apache.activemq.store.kahadb.disk.index.ListIndex v;
java.lang.ref.WeakReference v;
v := @this: org.apache.activemq.store.kahadb.disk.index.ListIndex;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.util.Map$Entry lastGetEntryCache> = null;
v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.apache.activemq.store.kahadb.disk.index.ListNode lastGetNodeCache> = null;
v = v.<org.apache.activemq.store.kahadb.disk.index.ListIndex: java.lang.ref.WeakReference lastCacheTxSrc>;
virtualinvoke v.<java.lang.ref.WeakReference: void clear()>();
return;
}
static void <clinit>()
{
org.slf4j.Logger v;
v = staticinvoke <org.slf4j.LoggerFactory: org.slf4j.Logger getLogger(java.lang.Class)>(class "Lorg/apache/activemq/store/kahadb/disk/index/ListIndex;");
<org.apache.activemq.store.kahadb.disk.index.ListIndex: org.slf4j.Logger LOG> = v;
return;
}
}