C# Class SharpCifs.Util.Sharpen.ThreadPoolExecutor

Datei anzeigen Open project: brandonprry/Potato

Public Methods

Method Description
Execute ( IRunnable r ) : void
GetCorePoolSize ( ) : int
IsShutdown ( ) : bool
IsTerminated ( ) : bool
IsTerminating ( ) : bool
PrestartAllCoreThreads ( ) : void
RunPoolThread ( ) : void
SetMaximumPoolSize ( int size ) : void
SetThreadFactory ( ThreadFactory f ) : void
Shutdown ( ) : void
ShutdownNow ( ) : List
ThreadPoolExecutor ( int corePoolSize, ThreadFactory factory ) : System

Private Methods

Method Description
InternalExecute ( IRunnable r, bool checkShutdown ) : void
StartPoolThread ( ) : void

Method Details

Execute() public method

public Execute ( IRunnable r ) : void
r IRunnable
return void

GetCorePoolSize() public method

public GetCorePoolSize ( ) : int
return int

IsShutdown() public method

public IsShutdown ( ) : bool
return bool

IsTerminated() public method

public IsTerminated ( ) : bool
return bool

IsTerminating() public method

public IsTerminating ( ) : bool
return bool

PrestartAllCoreThreads() public method

public PrestartAllCoreThreads ( ) : void
return void

RunPoolThread() public method

public RunPoolThread ( ) : void
return void

SetMaximumPoolSize() public method

public SetMaximumPoolSize ( int size ) : void
size int
return void

SetThreadFactory() public method

public SetThreadFactory ( ThreadFactory f ) : void
f ThreadFactory
return void

Shutdown() public method

public Shutdown ( ) : void
return void

ShutdownNow() public method

public ShutdownNow ( ) : List
return List

ThreadPoolExecutor() public method

public ThreadPoolExecutor ( int corePoolSize, ThreadFactory factory ) : System
corePoolSize int
factory ThreadFactory
return System