<commit_before>package com.emc.mongoose.storage.driver.net.base;

import com.emc.mongoose.api.model.io.task.IoTask;
import com.emc.mongoose.api.model.item.Item;
import com.emc.mongoose.api.model.storage.StorageDriver;
import io.netty.channel.Channel;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.epoll.EpollSocketChannel;
import io.netty.util.AttributeKey;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 Created by kurila on 30.09.16.
 */
public interface NetStorageDriver<I extends Item, O extends IoTask<I>>
extends StorageDriver<I, O> {

	enum Transport {
		NIO,
		EPOLL,
		KQUEUE
	}

	Map<Transport, String> IO_EXECUTOR_IMPLS = new HashMap<Transport, String>() {
		{
			put(Transport.NIO, "io.netty.channel.nio.NioEventLoopGroup");
			put(Transport.EPOLL, "io.netty.channel.epoll.EpollEventLoopGroup");
			put(Transport.KQUEUE, "io.netty.channel.kqueue.KQueueEventLoopGroup");
		}
	};<commit_msg>+ remote debugging jvm args for the tests<commit_after>package com.emc.mongoose.storage.driver.net.base;

import com.emc.mongoose.api.model.io.task.IoTask;
import com.emc.mongoose.api.model.item.Item;
import com.emc.mongoose.api.model.storage.StorageDriver;
import io.netty.channel.Channel;
import io.netty.util.AttributeKey;

import java.util.HashMap;
import java.util.Map;

/**
 Created by kurila on 30.09.16.
 */
public interface NetStorageDriver<I extends Item, O extends IoTask<I>>
extends StorageDriver<I, O> {

	enum Transport {
		NIO,
		EPOLL,
		KQUEUE
	}

	Map<Transport, String> IO_EXECUTOR_IMPLS = new HashMap<Transport, String>() {
		{
			put(Transport.NIO, "io.netty.channel.nio.NioEventLoopGroup");
			put(Transport.EPOLL, "io.netty.channel.epoll.EpollEventLoopGroup");
			put(Transport.KQUEUE, "io.netty.channel.kqueue.KQueueEventLoopGroup");
		}
	};
{'fraction_non_alphanumeric': 0.1318447634237108, 'fraction_numerical': 0.006379585326953748, 'mean_word_length': 4.936908517350158, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '539172', 'n_tokens_mistral': 717, 'n_tokens_neox': 691, 'n_words': 113}