Added proper author / version tags

This commit is contained in:
Trustin Lee 2008-09-03 05:19:55 +00:00
parent 48497ce1fd
commit fd261b1044
3 changed files with 24 additions and 0 deletions

View File

@ -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;

View File

@ -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 =

View File

@ -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);
} }