All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.tio.http.common.HttpId Maven / Gradle / Ivy

There is a newer version: 3.7.3.v20241201-RELEASE
Show newest version
package com.litongjava.tio.http.common;

import java.util.concurrent.atomic.AtomicLong;

import com.litongjava.aio.AioId;

/**
 * @author tanyaowu
 * 2017年6月5日 上午10:44:26
 */
public class HttpId implements AioId {
  private static java.util.concurrent.atomic.AtomicLong seq = new AtomicLong();

  /**
   *
   * @author tanyaowu
   */
  public HttpId() {
  }

  /**
   * @return
   * @author tanyaowu
   */
  @Override
  public String id() {
    return seq.incrementAndGet() + "";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy