Package com.yahoo.prelude.fastsearch
Class FS4ResourcePool
- java.lang.Object
-
- com.yahoo.component.AbstractComponent
-
- com.yahoo.prelude.fastsearch.FS4ResourcePool
-
- All Implemented Interfaces:
com.yahoo.component.Component
,java.lang.Comparable<com.yahoo.component.Component>
public class FS4ResourcePool extends com.yahoo.component.AbstractComponent
All users will get the same pool instance.- Author:
- baldersheim
-
-
Constructor Summary
Constructors Constructor Description FS4ResourcePool(com.yahoo.container.QrConfig config)
FS4ResourcePool(java.lang.String serverId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deconstruct()
java.util.concurrent.ExecutorService
getExecutor()
java.util.concurrent.ScheduledExecutorService
getScheduledExecutor()
java.lang.String
getServerId()
Returns an unique identifier of the server this runs in
-
-
-
Method Detail
-
getServerId
public java.lang.String getServerId()
Returns an unique identifier of the server this runs in
-
getExecutor
public java.util.concurrent.ExecutorService getExecutor()
-
getScheduledExecutor
public java.util.concurrent.ScheduledExecutorService getScheduledExecutor()
-
deconstruct
public void deconstruct()
- Overrides:
deconstruct
in classcom.yahoo.component.AbstractComponent
-
-