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

com.newrelic.agent.util.SynchronousExecutor Maven / Gradle / Ivy

There is a newer version: 8.14.0
Show newest version
/*
 *
 *  * Copyright 2020 New Relic Corporation. All rights reserved.
 *  * SPDX-License-Identifier: Apache-2.0
 *
 */

package com.newrelic.agent.util;

import java.util.concurrent.Executor;

/**
 * An executor that synchronously runs tasks.
 */
public class SynchronousExecutor implements Executor {

    @Override
    public void execute(Runnable command) {
        command.run();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy