/************************************************************************* * * * SignServer: The OpenSource Automated Signing Server * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package org.signserver.test.performance; /** * Representation of something to do. * * @author Marcus Lundblad * @version $Id: Task.java 3422 2013-04-08 11:10:04Z malu9369 $ */ public interface Task { /** * Runs task * @return Estimated response time for worker in millisecond. * @throws Exception */ long run() throws FailedException; }