public void write()

in core/src/main/thrift-gen-java/org/apache/accumulo/core/manager/thrift/TabletServerStatus.java [1698:1805]


    public void write(org.apache.thrift.protocol.TProtocol prot, TabletServerStatus struct) throws org.apache.thrift.TException {
      org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
      java.util.BitSet optionals = new java.util.BitSet();
      if (struct.isSetTableMap()) {
        optionals.set(0);
      }
      if (struct.isSetLastContact()) {
        optionals.set(1);
      }
      if (struct.isSetName()) {
        optionals.set(2);
      }
      if (struct.isSetOsLoad()) {
        optionals.set(3);
      }
      if (struct.isSetHoldTime()) {
        optionals.set(4);
      }
      if (struct.isSetLookups()) {
        optionals.set(5);
      }
      if (struct.isSetIndexCacheHits()) {
        optionals.set(6);
      }
      if (struct.isSetIndexCacheRequest()) {
        optionals.set(7);
      }
      if (struct.isSetDataCacheHits()) {
        optionals.set(8);
      }
      if (struct.isSetDataCacheRequest()) {
        optionals.set(9);
      }
      if (struct.isSetLogSorts()) {
        optionals.set(10);
      }
      if (struct.isSetFlushs()) {
        optionals.set(11);
      }
      if (struct.isSetSyncs()) {
        optionals.set(12);
      }
      if (struct.isSetVersion()) {
        optionals.set(13);
      }
      if (struct.isSetResponseTime()) {
        optionals.set(14);
      }
      oprot.writeBitSet(optionals, 15);
      if (struct.isSetTableMap()) {
        {
          oprot.writeI32(struct.tableMap.size());
          for (java.util.Map.Entry<java.lang.String, TableInfo> _iter17 : struct.tableMap.entrySet())
          {
            oprot.writeString(_iter17.getKey());
            _iter17.getValue().write(oprot);
          }
        }
      }
      if (struct.isSetLastContact()) {
        oprot.writeI64(struct.lastContact);
      }
      if (struct.isSetName()) {
        oprot.writeString(struct.name);
      }
      if (struct.isSetOsLoad()) {
        oprot.writeDouble(struct.osLoad);
      }
      if (struct.isSetHoldTime()) {
        oprot.writeI64(struct.holdTime);
      }
      if (struct.isSetLookups()) {
        oprot.writeI64(struct.lookups);
      }
      if (struct.isSetIndexCacheHits()) {
        oprot.writeI64(struct.indexCacheHits);
      }
      if (struct.isSetIndexCacheRequest()) {
        oprot.writeI64(struct.indexCacheRequest);
      }
      if (struct.isSetDataCacheHits()) {
        oprot.writeI64(struct.dataCacheHits);
      }
      if (struct.isSetDataCacheRequest()) {
        oprot.writeI64(struct.dataCacheRequest);
      }
      if (struct.isSetLogSorts()) {
        {
          oprot.writeI32(struct.logSorts.size());
          for (RecoveryStatus _iter18 : struct.logSorts)
          {
            _iter18.write(oprot);
          }
        }
      }
      if (struct.isSetFlushs()) {
        oprot.writeI64(struct.flushs);
      }
      if (struct.isSetSyncs()) {
        oprot.writeI64(struct.syncs);
      }
      if (struct.isSetVersion()) {
        oprot.writeString(struct.version);
      }
      if (struct.isSetResponseTime()) {
        oprot.writeI64(struct.responseTime);
      }
    }