com.alibaba.rocketmq.common.sysflag
类 PullSysFlag

java.lang.Object
  继承者 com.alibaba.rocketmq.common.sysflag.PullSysFlag

public class PullSysFlag
extends Object

Pull接口用到的flag定义

作者:
shijia.wxr

构造方法摘要
PullSysFlag()
           
 
方法摘要
static int buildSysFlag(boolean commitOffset, boolean suspend, boolean subscription, boolean classFilter)
           
static int clearCommitOffsetFlag(int sysFlag)
           
static boolean hasClassFilterFlag(int sysFlag)
           
static boolean hasCommitOffsetFlag(int sysFlag)
           
static boolean hasSubscriptionFlag(int sysFlag)
           
static boolean hasSuspendFlag(int sysFlag)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PullSysFlag

public PullSysFlag()
方法详细信息

buildSysFlag

public static int buildSysFlag(boolean commitOffset,
                               boolean suspend,
                               boolean subscription,
                               boolean classFilter)

clearCommitOffsetFlag

public static int clearCommitOffsetFlag(int sysFlag)

hasCommitOffsetFlag

public static boolean hasCommitOffsetFlag(int sysFlag)

hasSuspendFlag

public static boolean hasSuspendFlag(int sysFlag)

hasSubscriptionFlag

public static boolean hasSubscriptionFlag(int sysFlag)

hasClassFilterFlag

public static boolean hasClassFilterFlag(int sysFlag)


Copyright © 2012-2015. All Rights Reserved.