Package com.exedio.cope.sampler
Class Sampler
java.lang.Object
com.exedio.cope.sampler.Sampler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
check()
Deprecated.final ConnectToken
Deprecated.This method is no longer needed.differentiate
(Date from, Date until) Deprecated.This method is no longer needed.final Model
getModel()
long
Deprecated.UseSamplerProperties.sample(Sampler)
instead.static final Properties.Source
maskConnectSource
(Properties.Source original) Deprecated.UseSamplerProperties
insteadfinal void
purge
(int days, JobContext ctx) final void
purge
(Date limit, JobContext ctx) final void
sample()
Deprecated.UseSamplerProperties.sample(Sampler)
instead.final String
toString()
-
Constructor Details
-
Sampler
-
-
Method Details
-
getModel
-
maskConnectSource
Deprecated.UseSamplerProperties
instead -
connect
-
check
Deprecated.Useconnect(String)
for connecting AND checking instead -
purge
-
purge
-
toString
-
sample
Deprecated.UseSamplerProperties.sample(Sampler)
instead. -
getTransactionDuration
Deprecated.UseSamplerProperties.sample(Sampler)
instead.Return the minimum duration (in milliseconds) for a transaction to be recorded by the sampler. This default implementation returns 10 seconds. -
differentiate
Deprecated.This method is no longer needed. Always returns an empty list. -
differentiate
Deprecated.This method is no longer needed. Always returns an empty list.
-
connect(String)
for connecting AND checking instead