List of usage examples for org.apache.thrift EncodingUtils testBit
public static final boolean testBit(long v, int position)
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field total_workers is set (has been assigned a value) and false otherwise */ public boolean is_set_total_workers() { return EncodingUtils.testBit(__isset_bitfield, __TOTAL_WORKERS_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field memory_usage is set (has been assigned a value) and false otherwise */ public boolean is_set_memory_usage() { return EncodingUtils.testBit(__isset_bitfield, __MEMORY_USAGE_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field cpu_usage is set (has been assigned a value) and false otherwise */ public boolean is_set_cpu_usage() { return EncodingUtils.testBit(__isset_bitfield, __CPU_USAGE_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field memory_guarantee is set (has been assigned a value) and false otherwise */ public boolean is_set_memory_guarantee() { return EncodingUtils.testBit(__isset_bitfield, __MEMORY_GUARANTEE_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field cpu_guarantee is set (has been assigned a value) and false otherwise */ public boolean is_set_cpu_guarantee() { return EncodingUtils.testBit(__isset_bitfield, __CPU_GUARANTEE_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field memory_guarantee_remaining is set (has been assigned a value) and false otherwise */ public boolean is_set_memory_guarantee_remaining() { return EncodingUtils.testBit(__isset_bitfield, __MEMORY_GUARANTEE_REMAINING_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field cpu_guarantee_remaining is set (has been assigned a value) and false otherwise */ public boolean is_set_cpu_guarantee_remaining() { return EncodingUtils.testBit(__isset_bitfield, __CPU_GUARANTEE_REMAINING_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field isolated_node_guarantee is set (has been assigned a value) and false otherwise */ public boolean is_set_isolated_node_guarantee() { return EncodingUtils.testBit(__isset_bitfield, __ISOLATED_NODE_GUARANTEE_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field total_tasks is set (has been assigned a value) and false otherwise */ public boolean is_set_total_tasks() { return EncodingUtils.testBit(__isset_bitfield, __TOTAL_TASKS_ISSET_ID); }
From source file:org.apache.storm.generated.OwnerResourceSummary.java
License:Apache License
/** Returns true if field requested_on_heap_memory is set (has been assigned a value) and false otherwise */ public boolean is_set_requested_on_heap_memory() { return EncodingUtils.testBit(__isset_bitfield, __REQUESTED_ON_HEAP_MEMORY_ISSET_ID); }