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.LSTopoHistory.java

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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