Class SuspendLogBuilder
java.lang.Object
com.netcracker.profiler.sax.raw.SuspendLogVisitor
com.netcracker.profiler.sax.builders.SuspendLogBuilder
- All Implemented Interfaces:
ISuspendLogVisitor,Supplier<SuspendLog>
- Direct Known Subclasses:
InMemorySuspendLogBuilder
Prototype-scoped class - create instances via
SuspendLogBuilderFactory or direct instantiation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected long[]protected int[]protected SuspendLogprotected intprotected Stringprotected intprotected int[]Fields inherited from class com.netcracker.profiler.sax.raw.SuspendLogVisitor
api, sv -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSuspendLogBuilder(int api, int size, int maxSize, String rootReference) SuspendLogBuilder(int size, int maxSize, String rootReference) SuspendLogBuilder(int size, String rootReference) SuspendLogBuilder(String rootReference) -
Method Summary
Methods inherited from class com.netcracker.profiler.sax.raw.SuspendLogVisitor
asSkipVisitEnd
-
Field Details
-
log
-
dates
protected long[] dates -
delays
protected int[] delays -
trueDelays
protected int[] trueDelays -
size
protected int size -
maxSize
protected int maxSize -
rootReference
-
-
Constructor Details
-
SuspendLogBuilder
-
SuspendLogBuilder
-
SuspendLogBuilder
-
SuspendLogBuilder
-
-
Method Details
-
visitHiccup
public void visitHiccup(long date, int delay) - Specified by:
visitHiccupin interfaceISuspendLogVisitor- Overrides:
visitHiccupin classSuspendLogVisitor
-
visitEnd
public void visitEnd()- Specified by:
visitEndin interfaceISuspendLogVisitor- Overrides:
visitEndin classSuspendLogVisitor
-
get
- Specified by:
getin interfaceSupplier<SuspendLog>
-