Class ClientListenerProcessor.ClientProcessorMXBeanImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.ClientListenerProcessor.ClientProcessorMXBeanImpl
-
- All Implemented Interfaces:
ClientProcessorMXBean
- Enclosing class:
- ClientListenerProcessor
public class ClientListenerProcessor.ClientProcessorMXBeanImpl extends Object implements ClientProcessorMXBean
ClientProcessorMXBean interface.
-
-
Constructor Summary
Constructors Constructor Description ClientProcessorMXBeanImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddropAllConnections()Drop all active connections.booleandropConnection(long id)Drops client connection byid, if exists.List<String>getConnections()Returns list of active connections.voidshowFullStackOnClientSide(boolean show)If sets totrueshows full stack trace otherwise highlevel short error message.
-
-
-
Method Detail
-
getConnections
public List<String> getConnections()
Returns list of active connections.- Specified by:
getConnectionsin interfaceClientProcessorMXBean- Returns:
- Sessions.
-
dropAllConnections
public void dropAllConnections()
Drop all active connections.- Specified by:
dropAllConnectionsin interfaceClientProcessorMXBean
-
dropConnection
public boolean dropConnection(long id)
Drops client connection byid, if exists.- Specified by:
dropConnectionin interfaceClientProcessorMXBean- Parameters:
id- connection id.- Returns:
Trueif connection has been dropped successfully,falseotherwise.
-
showFullStackOnClientSide
public void showFullStackOnClientSide(boolean show)
If sets totrueshows full stack trace otherwise highlevel short error message.- Specified by:
showFullStackOnClientSidein interfaceClientProcessorMXBean- Parameters:
show- Show flag.
-
-