1 20 package org.apache.mina.integration.jmx; 21 22 import java.util.Date ; 23 24 29 public interface IoSessionManagerMBean { 30 34 public boolean isConnected(); 35 36 40 public long getReadBytes(); 41 42 46 public long getWrittenBytes(); 47 48 52 public long getReadMessages(); 53 54 58 public long getWrittenMessages(); 59 60 63 public void close() throws InterruptedException ; 64 65 69 public Date getCreationTime(); 70 71 75 public Date getLastIoTime(); 76 77 81 public Date getLastWriteTime(); 82 83 87 public Date getLastReadTime(); 88 89 93 public String [] getInstalledFilters(); 94 95 98 public void addLastLoggingFilter(); 99 100 103 public void removeLastLoggingFilter(); 104 105 108 public void addFirstLoggingFilter(); 109 110 113 public void removeFirstLoggingFilter(); 114 115 119 public long getBothIdleTime(); 120 121 125 public long getReadIdleTime(); 126 127 131 public long getWriteIdleTime(); 132 133 138 public float getByteReadThroughtput(); 139 140 145 public float getByteWrittenThroughtput(); 146 147 152 public float getMessageReadThroughtput(); 153 154 159 public float getMessageWrittenThroughtput(); 160 161 } | Popular Tags |