Example usage for org.apache.thrift EncodingUtils testBit

List of usage examples for org.apache.thrift EncodingUtils testBit

Introduction

In this page you can find the example usage for org.apache.thrift EncodingUtils testBit.

Prototype

public static final boolean testBit(long v, int position) 

Source Link

Usage

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

/** Returns true if field StdDev is set (has been assigned a value) and false otherwise */
public boolean isSetStdDev() {
    return EncodingUtils.testBit(__isset_bitfield, __STDDEV_ISSET_ID);
}

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

/** Returns true if field p75 is set (has been assigned a value) and false otherwise */
public boolean isSetP75() {
    return EncodingUtils.testBit(__isset_bitfield, __P75_ISSET_ID);
}

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

/** Returns true if field p95 is set (has been assigned a value) and false otherwise */
public boolean isSetP95() {
    return EncodingUtils.testBit(__isset_bitfield, __P95_ISSET_ID);
}

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

/** Returns true if field p98 is set (has been assigned a value) and false otherwise */
public boolean isSetP98() {
    return EncodingUtils.testBit(__isset_bitfield, __P98_ISSET_ID);
}

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

/** Returns true if field p99 is set (has been assigned a value) and false otherwise */
public boolean isSetP99() {
    return EncodingUtils.testBit(__isset_bitfield, __P99_ISSET_ID);
}

From source file:ezbake.base.thrift.metrics.SnapShotThrift.java

License:Apache License

/** Returns true if field p999 is set (has been assigned a value) and false otherwise */
public boolean isSetP999() {
    return EncodingUtils.testBit(__isset_bitfield, __P999_ISSET_ID);
}

From source file:ezbake.base.thrift.ProxyUserToken.java

License:Apache License

/** Returns true if field notAfter is set (has been assigned a value) and false otherwise */
public boolean isSetNotAfter() {
    return EncodingUtils.testBit(__isset_bitfield, __NOTAFTER_ISSET_ID);
}

From source file:ezbake.base.thrift.ProxyUserToken.java

License:Apache License

/** Returns true if field notBefore is set (has been assigned a value) and false otherwise */
public boolean isSetNotBefore() {
    return EncodingUtils.testBit(__isset_bitfield, __NOTBEFORE_ISSET_ID);
}

From source file:ezbake.base.thrift.PurgeState.java

License:Apache License

/** Returns true if field purgeId is set (has been assigned a value) and false otherwise */
public boolean isSetPurgeId() {
    return EncodingUtils.testBit(__isset_bitfield, __PURGEID_ISSET_ID);
}

From source file:ezbake.base.thrift.PurgeState.java

License:Apache License

/** Returns true if field suggestedPollPeriod is set (has been assigned a value) and false otherwise */
public boolean isSetSuggestedPollPeriod() {
    return EncodingUtils.testBit(__isset_bitfield, __SUGGESTEDPOLLPERIOD_ISSET_ID);
}