com.tacitknowledge.slowlight.proxyserver.handler.behavior.LinearBehavior Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slowlight-proxy Show documentation
Show all versions of slowlight-proxy Show documentation
Standalone proxy tool for creating issues with synchronous RPC calls
The newest version!
package com.tacitknowledge.slowlight.proxyserver.handler.behavior;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Linear function implementation, values of this function could be controlled by passing value parameter.
*
* @author Alexandr Donciu ([email protected])
*/
public class LinearBehavior extends IntervalBehaviorFunction
{
private static final Logger LOG = LoggerFactory.getLogger(LinearBehavior.class);
private static final String ARG_VALUE = "value";
@Override
public Object evaluate(final Map params)
{
final Object value = params.get(ARG_VALUE);
LOG.debug("apply function value [{}]", value);
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy