/*
 * Copyright 2018 Scytl Secure Electronic Voting SA
 *
 * All rights reserved
 *
 * See our extended copyright notice in *file 'Copyright.txt' which is part of this source code package
 */
package com.scytl.ov.mixing.core;

import java.util.concurrent.Executor;

import javax.annotation.concurrent.ThreadSafe;

/**
 * Mixer context allows {@link MixerSPI} to use shared resources owned by {@link Mixer}
 * implementation.
 *
 * @author aakimov
 */
@ThreadSafe
public interface MixerContext {
  /**
   * Returns executor for asynchronous computations.
   *
   * @return executor.
   */
  Executor executor();
}
