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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

From source file:cgl.iotcloud.core.api.thrift.TChannel.java

License:Apache License

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

From source file:cgl.iotcloud.core.api.thrift.TSite.java

License:Apache License

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