Class SuspendLogBuilder
java.lang.Object
com.netcracker.profiler.sax.raw.SuspendLogVisitor
com.netcracker.profiler.sax.builders.SuspendLogBuilder
- All Implemented Interfaces:
Provider<SuspendLog>,ISuspendLogVisitor
- Direct Known Subclasses:
InMemorySuspendLogBuilder
@Component
@Scope("prototype")
@Profile("filestorage")
public class SuspendLogBuilder
extends SuspendLogVisitor
implements Provider<SuspendLog>
-
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
Modifier and TypeMethodDescriptionget()voidinitLog()voidvisitEnd()voidvisitHiccup(long date, int delay) 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
-
initLog
-
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 interfaceProvider<SuspendLog>
-