All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.metricssampler.daemon.commands.StartResourceCommand Maven / Gradle / Ivy

The newest version!
package org.metricssampler.daemon.commands;

import org.metricssampler.resources.SharedResource;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.util.Map;

public class StartResourceCommand extends MapEntryCommand {

	protected StartResourceCommand(final BufferedReader reader, final BufferedWriter writer, final Map resources, final String name) {
		super(reader, writer, resources, name);
	}

	@Override
	protected void processMatchingItem(final SharedResource item, final BufferedWriter writer) throws IOException {
		item.startup();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy