|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.model.buffered.XTraceBufferedImpl
public class XTraceBufferedImpl
Soft-buffered implementation of the XTrace interface. Uses the virtual NikeFS filesystem for event log data for transparently storing the data on disk, so that main memory is freed for other tasks.
Field Summary | |
---|---|
static String |
ID_PREFIX
ID prefix used for this implementation. |
Constructor Summary | |
---|---|
XTraceBufferedImpl(XAttributeMap attributeMap,
XAttributeMapSerializer attributeMapSerializer)
Creates a new trace. |
Method Summary | ||
---|---|---|
void |
add(int index,
XEvent event)
|
|
boolean |
add(XEvent event)
|
|
boolean |
addAll(Collection<? extends XEvent> c)
|
|
boolean |
addAll(int index,
Collection<? extends XEvent> c)
|
|
void |
clear()
|
|
Object |
clone()
Creates an identical clone of this trace. |
|
boolean |
consolidate()
Trigger consolidation of this trace. |
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
protected void |
finalize()
|
|
XEvent |
get(int index)
|
|
XAttributeMap |
getAttributes()
Retrieves the attributes set for this element. |
|
Set<XExtension> |
getExtensions()
Retrieves the extensions used by this element, i.e. |
|
int |
indexOf(Object o)
|
|
int |
insertOrdered(XEvent event)
Insert the event in an ordered manner, if timestamp information is available in this trace. |
|
boolean |
isEmpty()
|
|
Iterator<XEvent> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
ListIterator<XEvent> |
listIterator()
|
|
ListIterator<XEvent> |
listIterator(int index)
|
|
XEvent |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
XEvent |
set(int index,
XEvent event)
|
|
void |
setAttributes(XAttributeMap attributes)
Sets the map of attributes for this element. |
|
int |
size()
|
|
List<XEvent> |
subList(int fromIndex,
int toIndex)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
equals, hashCode |
Field Detail |
---|
public static final String ID_PREFIX
Constructor Detail |
---|
public XTraceBufferedImpl(XAttributeMap attributeMap, XAttributeMapSerializer attributeMapSerializer)
attributeMap
- Map to store the attributes of this trace.attributeMapSerializer
- Serializer used to serialize the attribute maps of events in
this buffered trace.Method Detail |
---|
public XAttributeMap getAttributes()
XAttributable
getAttributes
in interface XAttributable
public Set<XExtension> getExtensions()
XAttributable
getExtensions
in interface XAttributable
public void setAttributes(XAttributeMap attributes)
XAttributable
setAttributes
in interface XAttributable
attributes
- A map of attributes.public boolean add(XEvent event)
add
in interface Collection<XEvent>
add
in interface List<XEvent>
public void add(int index, XEvent event)
add
in interface List<XEvent>
public boolean addAll(Collection<? extends XEvent> c)
addAll
in interface Collection<XEvent>
addAll
in interface List<XEvent>
public boolean addAll(int index, Collection<? extends XEvent> c)
addAll
in interface List<XEvent>
public void clear()
clear
in interface Collection<XEvent>
clear
in interface List<XEvent>
public boolean contains(Object o)
contains
in interface Collection<XEvent>
contains
in interface List<XEvent>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<XEvent>
containsAll
in interface List<XEvent>
public XEvent get(int index)
get
in interface List<XEvent>
public int indexOf(Object o)
indexOf
in interface List<XEvent>
public boolean isEmpty()
isEmpty
in interface Collection<XEvent>
isEmpty
in interface List<XEvent>
public Iterator<XEvent> iterator()
iterator
in interface Iterable<XEvent>
iterator
in interface Collection<XEvent>
iterator
in interface List<XEvent>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<XEvent>
public ListIterator<XEvent> listIterator()
listIterator
in interface List<XEvent>
public ListIterator<XEvent> listIterator(int index)
listIterator
in interface List<XEvent>
public boolean remove(Object o)
remove
in interface Collection<XEvent>
remove
in interface List<XEvent>
public XEvent remove(int index)
remove
in interface List<XEvent>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<XEvent>
removeAll
in interface List<XEvent>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<XEvent>
retainAll
in interface List<XEvent>
public XEvent set(int index, XEvent event)
set
in interface List<XEvent>
public int size()
size
in interface Collection<XEvent>
size
in interface List<XEvent>
public List<XEvent> subList(int fromIndex, int toIndex)
subList
in interface List<XEvent>
public Object[] toArray()
toArray
in interface Collection<XEvent>
toArray
in interface List<XEvent>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<XEvent>
toArray
in interface List<XEvent>
public Object clone()
clone
in interface XElement
clone
in class Object
public boolean consolidate()
public int insertOrdered(XEvent event)
event
- the event to be inserted.
protected void finalize() throws Throwable
finalize
in class Object
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |