|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ThreadSafe public interface RtaConnection
A connection to the metrics engine.
A client application gets an instance of a connection using RtaConnectionFactory
This connection is used by the RtaSession for all communication with the engine.
example :
RtaConnectionFactory connectionFac = new RtaConnectionFactory();
RtaConnection connection = connectionFac.getConnection(connectionUrl, "username", "", new HashMap
| Method Summary | |
|---|---|
void |
close()
Close the connection and release any resources used. |
RtaSession |
createSession(java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps)
Creates the session. |
RtaSession |
createSession(java.lang.String name,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps)
Creates the session with name |
| Method Detail |
|---|
RtaSession createSession(java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps)
throws RtaException
sessionProps - the session props
RtaException
java.lang.NullPointerException - if any key or value in the properties is null
RtaSession createSession(java.lang.String name,
java.util.Map<ConfigProperty,com.tibco.rta.property.PropertyAtom<?>> sessionProps)
throws RtaException
name - Name for session.sessionProps - the session props
RtaException
java.lang.NullPointerException - if any key or value in the properties is null
void close()
throws RtaException
RtaException - if the connection could not be closed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||