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

org.wildfly.clustering.server.infinispan.scheduler.EntriesCommand Maven / Gradle / Ivy

/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */

package org.wildfly.clustering.server.infinispan.scheduler;

import java.util.Collection;
import java.util.List;

import org.wildfly.clustering.server.dispatcher.Command;

/**
 * Command returning the identifiers of all scheduler entries.
 * @param  the scheduled entry identifier type
 * @param  the scheduled entry metadata type
 * @author Paul Ferraro
 * @deprecated To be removed without replacement
 */
@Deprecated(forRemoval = true)
public class EntriesCommand implements Command, Scheduler, RuntimeException> {

	@Override
	public Collection execute(Scheduler scheduler) {
		return List.of();
	}

	@Override
	public String toString() {
		return this.getClass().getSimpleName();
	}
}