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

com.zusmart.base.looper.support.AbstractThreadEventLoopGroup Maven / Gradle / Ivy

Go to download

提供基础的工具类及方法类,Logging,Scanner,Buffer,NetWork,Future,Thread

There is a newer version: 1.0.6
Show newest version
package com.zusmart.base.looper.support;

import com.zusmart.base.looper.ThreadEventLoop;
import com.zusmart.base.looper.ThreadEventLoopGroup;

public abstract class AbstractThreadEventLoopGroup extends AbstractEventLoopGroup implements ThreadEventLoopGroup {

	protected AbstractThreadEventLoopGroup(int eventLoopSize, String eventLoopName) {
		super(eventLoopSize, eventLoopName);
	}

	@Override
	public ThreadEventLoop getEventLoop() {
		return (ThreadEventLoop) super.getEventLoop();
	}

	@Override
	public ThreadEventLoop getEventLoop(int index) {
		return (ThreadEventLoop) super.getEventLoop(index);
	}

	@Override
	protected abstract ThreadEventLoop createEventLoop(String name);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy