Package cn.boboweike.carrot.dashboard
Class CarrotDashboardWebServer
- java.lang.Object
-
- cn.boboweike.carrot.dashboard.CarrotDashboardWebServer
-
public class CarrotDashboardWebServer extends Object
Provides a dashboard which gives insights in your tasks and servers. The dashboard server starts by default on port 8000.
-
-
Constructor Summary
Constructors Constructor Description CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper)CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper, int port)CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper, int port, String username, String password)CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper, CarrotDashboardWebServerConfiguration configuration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)voidstart()voidstop()
-
-
-
Constructor Detail
-
CarrotDashboardWebServer
public CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper)
-
CarrotDashboardWebServer
public CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper, int port)
-
CarrotDashboardWebServer
public CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper, int port, String username, String password)
-
CarrotDashboardWebServer
public CarrotDashboardWebServer(PartitionedStorageProvider storageProvider, JsonMapper jsonMapper, CarrotDashboardWebServerConfiguration configuration)
-
-
Method Detail
-
main
public static void main(String[] args)
-
start
public void start()
-
stop
public void stop()
-
-