com.taobao.metamorphosis.server.assembly
类 BrokerCommandProcessor.StoreAppendCallback

java.lang.Object
  继承者 com.taobao.metamorphosis.server.assembly.BrokerCommandProcessor.StoreAppendCallback
所有已实现的接口:
AppendCallback
包容类:
BrokerCommandProcessor

public final class BrokerCommandProcessor.StoreAppendCallback
extends Object
implements AppendCallback

append到message store的callback

作者:
boyan(boyan@taobao.com)

构造方法摘要
BrokerCommandProcessor.StoreAppendCallback(int partition, String partitionString, PutCommand request, long messageId, PutCallback cb)
           
 
方法摘要
 void appendComplete(Location location)
          在append成功后回调此方法,传入写入的location
 boolean equals(Object obj)
           
 int hashCode()
           
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BrokerCommandProcessor.StoreAppendCallback

public BrokerCommandProcessor.StoreAppendCallback(int partition,
                                                  String partitionString,
                                                  PutCommand request,
                                                  long messageId,
                                                  PutCallback cb)
方法详细信息

hashCode

public int hashCode()
覆盖:
Object 中的 hashCode

equals

public boolean equals(Object obj)
覆盖:
Object 中的 equals

appendComplete

public void appendComplete(Location location)
从接口 AppendCallback 复制的描述
在append成功后回调此方法,传入写入的location

指定者:
接口 AppendCallback 中的 appendComplete


Copyright © 2010–2013. All rights reserved.