Added proper author / version tags
This commit is contained in:
parent
48497ce1fd
commit
fd261b1044
|
@ -25,6 +25,14 @@ package org.jboss.netty.handler.execution;
|
||||||
import org.jboss.netty.channel.ChannelEvent;
|
import org.jboss.netty.channel.ChannelEvent;
|
||||||
import org.jboss.netty.channel.ChannelHandlerContext;
|
import org.jboss.netty.channel.ChannelHandlerContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||||
|
* @author Trustin Lee (tlee@redhat.com)
|
||||||
|
*
|
||||||
|
* @version $Rev$, $Date$
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class ChannelEventRunnable implements Runnable {
|
public class ChannelEventRunnable implements Runnable {
|
||||||
private final ChannelHandlerContext ctx;
|
private final ChannelHandlerContext ctx;
|
||||||
private final ChannelEvent e;
|
private final ChannelEvent e;
|
||||||
|
|
|
@ -33,6 +33,14 @@ import java.util.concurrent.ConcurrentMap;
|
||||||
import org.jboss.netty.buffer.ChannelBuffer;
|
import org.jboss.netty.buffer.ChannelBuffer;
|
||||||
import org.jboss.netty.channel.MessageEvent;
|
import org.jboss.netty.channel.MessageEvent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||||
|
* @author Trustin Lee (tlee@redhat.com)
|
||||||
|
*
|
||||||
|
* @version $Rev$, $Date$
|
||||||
|
*
|
||||||
|
*/
|
||||||
public class DefaultObjectSizeEstimator implements ObjectSizeEstimator {
|
public class DefaultObjectSizeEstimator implements ObjectSizeEstimator {
|
||||||
|
|
||||||
private final ConcurrentMap<Class<?>, Integer> class2size =
|
private final ConcurrentMap<Class<?>, Integer> class2size =
|
||||||
|
|
|
@ -22,6 +22,14 @@
|
||||||
*/
|
*/
|
||||||
package org.jboss.netty.handler.execution;
|
package org.jboss.netty.handler.execution;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author The Netty Project (netty-dev@lists.jboss.org)
|
||||||
|
* @author Trustin Lee (tlee@redhat.com)
|
||||||
|
*
|
||||||
|
* @version $Rev$, $Date$
|
||||||
|
*
|
||||||
|
*/
|
||||||
public interface ObjectSizeEstimator {
|
public interface ObjectSizeEstimator {
|
||||||
int estimateSize(Object o);
|
int estimateSize(Object o);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user