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:backtype.storm.generated.CommonAggregateStats.java

License:Apache License

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

From source file:backtype.storm.generated.CommonAggregateStats.java

License:Apache License

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

From source file:backtype.storm.generated.CommonAggregateStats.java

License:Apache License

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

From source file:backtype.storm.generated.CommonAggregateStats.java

License:Apache License

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

From source file:backtype.storm.generated.ComponentPageInfo.java

License:Apache License

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

From source file:backtype.storm.generated.DebugOptions.java

License:Apache License

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

From source file:backtype.storm.generated.DebugOptions.java

License:Apache License

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

From source file:backtype.storm.generated.HBMessage.java

License:Apache License

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

From source file:backtype.storm.generated.LogLevel.java

License:Apache License

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

From source file:backtype.storm.generated.LogLevel.java

License:Apache License

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