
com.anarsoft.trace.agent.runtime.process.PluginControllerStateIdle Maven / Gradle / Ivy
package com.anarsoft.trace.agent.runtime.process;
public class PluginControllerStateIdle implements PluginControllerState {
private final long creationTime = System.currentTimeMillis();
@Override
public PluginControllerState execute(AgentState agentState, PluginCallback pluginCallback) {
if( agentState == null)
{
return this;
}
if( agentState.getStartTimestamp() <= creationTime )
{
return this;
}
return new PluginControllerStateProcessing( agentState.getSlidingWindowId() );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy