Package org.fryske_akademy.pos_tagger
Class RConnectionPool
- java.lang.Object
-
- org.fryske_akademy.pos_tagger.RConnectionPool
-
@ApplicationScoped public class RConnectionPool extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULTUDPIPEMODELstatic StringLOAD_Rstatic StringSTARTRSERVE
-
Constructor Summary
Constructors Constructor Description RConnectionPool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WrappedRConnectionborrow()StringgetUdpipeModel()voidputBack(WrappedRConnection rConnection)
-
-
-
Field Detail
-
STARTRSERVE
public static final String STARTRSERVE
- See Also:
- Constant Field Values
-
DEFAULTUDPIPEMODEL
public static final String DEFAULTUDPIPEMODEL
- See Also:
- Constant Field Values
-
LOAD_R
public static final String LOAD_R
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUdpipeModel
public String getUdpipeModel()
-
borrow
public WrappedRConnection borrow() throws Exception
- Throws:
Exception
-
putBack
public void putBack(WrappedRConnection rConnection) throws Exception
- Throws:
Exception
-
-