Phaser提供了动态增parties计数,这点比CyclicBarrier类操作parties更加方便。它是jdk1.7新增的类,今天我们就来学习一下它的用法。尘埃落定之后,回忆别来挑拨。

Phaser的简单使用

一、Phaser的arriveAndAwaitAdvance方法使用

package com.linux.thread.thread;

import java.util.concurrent.Phaser;

public class PhaserRun1 {
public static void main(String[] args) {
Phaser phaser = new Phaser(3);
for (int i = 0; i < 3; i++) {
ThreadA threadA = new ThreadA(phaser);
threadA.start();
}
} static class ThreadA extends Thread {
private Phaser phaser; public ThreadA(Phaser phaser) {
this.phaser = phaser;
} @Override
public void run() {
System.out.println(Thread.currentThread().getName() + " A begin " + System.currentTimeMillis());
phaser.arriveAndAwaitAdvance();
System.out.println(Thread.currentThread().getName() + " A end " + System.currentTimeMillis());
}
}
}

一次运行的结果如下:

Thread- A begin
Thread- A begin
Thread- A begin
Thread- A end
Thread- A end
Thread- A end

修改上述的main方法的代码如下:

public static void main(String[] args) throws InterruptedException{
Phaser phaser = new Phaser(3);
phaser.register();
for (int i = 0; i < 3; i++) {
ThreadA threadA = new ThreadA(phaser);
threadA.start();
}
Thread.sleep(5000);
phaser.arriveAndDeregister();
}

运行的效果如下:

aaarticlea/gif;base64,R0lGODlh7QHpAHcAACH5BAB4AAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAA7QHpAKf////x8fHp6eni4uL09PTIyMjBwcGioaKbm5vZ2dmenp7S0tJ6enqKioq+6enp6b6RX5FgYGC6urro4+qo1erG4O+oxtXp1KiGhoZZWVl5X5Hu8PBWo8jl7Oary9w5slrp6dSoeXms8fHpxsHUqHlaosTV1dVSn8iRX19fkb6kgrl5qNTow747g6yRX3ktqUqohbzl6u02faiysrLbbV2je7vhfGyRvunpvpHddGOujcFEi7Kj0ezV6upfX5HUaltRj7jryMM3sFfx7u5NmcSgdbhJlsBOirKwjMQzrFJfeajVYlNqosRCjbtUm76+vr5AsFpMlruoeV9BuGHn4+owdKNBhbA7qFadxtlhnL+Vuc5dpsi7pMno6NOrg8Ewokz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IDKAOwAAMWOPCyEl8u4N0GOxcBAQEfzxV0bkOjHECpOes8F7MATP1xE0OXHLLRSDswg4g0MLCBExVwYEAFQQAAOwA=" alt="" />

  通过若干个方法来控制多个线程之间同步运行的效果,还可以实现针对某一个线程取消同步运行的效果,而且支持在指定屏障处等待,在等待时还支持中断或非中断等功能,使用Java并发类对线程进行分组同步控制时,Phaser比CyclicBarrier类功能更加强大,建议使用。

友情链接

java高级---->Thread之Phaser的使用的更多相关文章

  1. java高级---->Thread之ScheduledExecutorService的使用

    ScheduledExecutorService的主要作用就是可以将定时任务与线程池功能结合使用.今天我们来学习一下ScheduledExecutorService的用法.我们都太渺小了,那么容易便湮 ...

  2. java高级---->Thread之ExecutorService的使用

    今天我们通过实例来学习一下ExecutorService的用法.我徒然学会了抗拒热闹,却还来不及透悟真正的冷清. ExecutorService的简单实例 一.ExecutorService的简单使用 ...

  3. java高级---->Thread之CompletionService的使用

    CompletionService的功能是以异步的方式一边生产新的任务,一边处理已完成任务的结果,这样可以将执行任务与处理任务分离开来进行处理.今天我们通过实例来学习一下CompletionServi ...

  4. java高级---->Thread之CyclicBarrier的使用

    CyclicBarrier是一个同步辅助类,它允许一组线程互相等待,直到到达某个公共屏障点 (common barrier point).今天我们就学习一下CyclicBarrier的用法. Cycl ...

  5. java高级---->Thread之BlockingQueue的使用

    今天我们通过实例来学习一下BlockingQueue的用法.梦想,可以天花乱坠,理想,是我们一步一个脚印踩出来的坎坷道路. BlockingQueue的实例 官方文档上的对于BlockingQueue ...

  6. java高级---->Thread之Exchanger的使用

    Exchanger可以在两个线程之间交换数据,只能是2个线程,他不支持更多的线程之间互换数据.今天我们就通过实例来学习一下Exchanger的用法. Exchanger的简单实例 Exchanger是 ...

  7. java高级---->Thread之FutureTask的使用

    FutureTask类是Future 的一个实现,并实现了Runnable,所以可通过Excutor(线程池) 来执行,也可传递给Thread对象执行.今天我们通过实例来学习一下FutureTask的 ...

  8. java高级---->Thread之Condition的使用

    Condition 将 Object 监视器方法(wait.notify 和 notifyAll)分解成截然不同的对象,以便通过将这些对象与任意 Lock 实现组合使用,为每个对象提供多个等待 set ...

  9. java高级---->Thread之CountDownLatch的使用

    CountDownLatch是JDK 5+里面闭锁的一个实现,允许一个或者多个线程等待某个事件的发生.今天我们通过一些实例来学习一下它的用法. CountDownLatch的简单使用 CountDow ...

随机推荐

  1. Newtonsoft.Json 序列化小写首字母

    //json对象命名小驼峰式转换var json = JsonConvert.SerializeObject(newAccount, Formatting.Indented, new JsonSeri ...

  2. UI型Bug定义的处理方法

    [UI型Bug定义] 这里指的UI型指以下两种Bug: 第一种是文字型Bug,即和给定的字符资源不一致的Bug,比如文字/字符/提示语/引导语/用户协议等文字方面的不一致. 第二种是UI效果不一致的B ...

  3. 第一個shell腳本

    #!/bin/bash echo "Hello World !" 運行

  4. thinkphp 外部js语言包

    Thinkphp php文件也外部js文件公用同一个语言包 一 . php语言包转json数据格式 1.新建验证字段的语言包 application\common\lang\validate-cn.p ...

  5. .Net执行cmd命令

    using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq ...

  6. php解析出带层级关系的mpp文件

    本来要使用DHX gantt插件自带的API做导入,可是做完后,又发现不稳定,不能访问了 可能是屏蔽掉了 所以又想起可以使用javaBridge,借用java的MPXJ php解析mpp的 上一篇介绍 ...

  7. 虚拟机中安装linux系统步骤

    参考:http://blog.csdn.net/u013111221/article/details/50856934 后面参考:http://blog.csdn.net/chenweitang123 ...

  8. 【转】Java代码操作Redis的sentinel和Redis的集群Cluster操作

    总共四台机器,crxy99,crxy98分别是主节点和从节点.   crxy97和crxy96是两个监控此主从架构的sentinel节点. 直接看代码: 1 import org.junit.Test ...

  9. 源码分析八(org.springframework.util包之StringUtils类))

    一:spring框架util包中的StringUtils类主要是处理关于字符串 的功能方法,下面直接结合代码分析: //判断字符串是否为空,如果为nul或者""则返回true,否则 ...

  10. mysql 日志操作

    https://www.cnblogs.com/dreamworlds/p/5478293.html http://www.jb51.net/article/76886.htm