最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

基于Java回顧之多線程詳解

 更新時(shí)間:2013年05月08日 10:00:18   作者:  
在這篇文章里,我們關(guān)注多線程。多線程是一個(gè)復(fù)雜的話題,包含了很多內(nèi)容,這篇文章主要關(guān)注線程的基本屬性、如何創(chuàng)建線程、線程的狀態(tài)切換以及線程通信,我們把線程同步的話題留到下一篇文章中

線程是操作系統(tǒng)運(yùn)行的基本單位,它被封裝在進(jìn)程中,一個(gè)進(jìn)程可以包含多個(gè)線程。即使我們不手動創(chuàng)造線程,進(jìn)程也會有一個(gè)默認(rèn)的線程在運(yùn)行。

對于JVM來說,當(dāng)我們編寫一個(gè)單線程的程序去運(yùn)行時(shí),JVM中也是有至少兩個(gè)線程在運(yùn)行,一個(gè)是我們創(chuàng)建的程序,一個(gè)是垃圾回收。

線程基本信息

我們可以通過Thread.currentThread()方法獲取當(dāng)前線程的一些信息,并對其進(jìn)行修改。

我們來看以下代碼:

復(fù)制代碼 代碼如下:

查看并修改當(dāng)前線程的屬性
 String name = Thread.currentThread().getName();
         int priority = Thread.currentThread().getPriority();
         String groupName = Thread.currentThread().getThreadGroup().getName();
         boolean isDaemon = Thread.currentThread().isDaemon();
         System.out.println("Thread Name:" + name);
         System.out.println("Priority:" + priority);
         System.out.println("Group Name:" + groupName);
         System.out.println("IsDaemon:" + isDaemon);

         Thread.currentThread().setName("Test");
         Thread.currentThread().setPriority(Thread.MAX_PRIORITY);
         name = Thread.currentThread().getName();
         priority = Thread.currentThread().getPriority();
         groupName = Thread.currentThread().getThreadGroup().getName();
         isDaemon = Thread.currentThread().isDaemon();
         System.out.println("Thread Name:" + name);
         System.out.println("Priority:" + priority);

其中列出的屬性說明如下:

    GroupName,每個(gè)線程都會默認(rèn)在一個(gè)線程組里,我們也可以顯式的創(chuàng)建線程組,一個(gè)線程組中也可以包含子線程組,這樣線程和線程組,就構(gòu)成了一個(gè)樹狀結(jié)構(gòu)。

    Name,每個(gè)線程都會有一個(gè)名字,如果不顯式指定,那么名字的規(guī)則是“Thread-xxx”。

    Priority,每個(gè)線程都會有自己的優(yōu)先級,JVM對優(yōu)先級的處理方式是“搶占式”的。當(dāng)JVM發(fā)現(xiàn)優(yōu)先級高的線程時(shí),馬上運(yùn)行該線程;對于多個(gè)優(yōu)先級相等的線程,JVM對其進(jìn)行輪詢處理。Java的線程優(yōu)先級從1到10,默認(rèn)是5,Thread類定義了2個(gè)常量:MIN_PRIORITY和MAX_PRIORITY來表示最高和最低優(yōu)先級。

    我們可以看下面的代碼,它定義了兩個(gè)不同優(yōu)先級的線程:

復(fù)制代碼 代碼如下:

線程優(yōu)先級示例
 public static void priorityTest()
 {
     Thread thread1 = new Thread("low")
     {
         public void run()
         {
             for (int i = 0; i < 5; i++)
             {
                 System.out.println("Thread 1 is running.");
             }
         }
     };

     Thread thread2 = new Thread("high")
     {
         public void run()
         {
             for (int i = 0; i < 5; i++)
             {
                 System.out.println("Thread 2 is running.");
             }
         }
     };

     thread1.setPriority(Thread.MIN_PRIORITY);
     thread2.setPriority(Thread.MAX_PRIORITY);
     thread1.start();
     thread2.start();
 }

    從運(yùn)行結(jié)果可以看出,是高優(yōu)先級線程運(yùn)行完成后,低優(yōu)先級線程才運(yùn)行。
    isDaemon,這個(gè)屬性用來控制父子線程的關(guān)系,如果設(shè)置為true,當(dāng)父線程結(jié)束后,其下所有子線程也結(jié)束,反之,子線程的生命周期不受父線程影響。
我們來看下面的例子:
復(fù)制代碼 代碼如下:

IsDaemon 示例
 public static void daemonTest()
 {
     Thread thread1 = new Thread("daemon")
     {
         public void run()
         {
             Thread subThread = new Thread("sub")
             {
                 public void run()
                 {
                     for(int i = 0; i < 100; i++)
                     {
                         System.out.println("Sub Thread Running " + i);
                     }
                 }
             };
             subThread.setDaemon(true);
             subThread.start();
             System.out.println("Main Thread end.");
         }
     };

     thread1.start();
 }

    上面代碼的運(yùn)行結(jié)果,在和刪除subThread.setDaemon(true);后對比,可以發(fā)現(xiàn)后者運(yùn)行過程中子線程會完成執(zhí)行后再結(jié)束,而前者中,子線程很快就結(jié)束了。

如何創(chuàng)建線程

上面的內(nèi)容,都是演示默認(rèn)線程中的一些信息,那么應(yīng)該如何創(chuàng)建線程呢?在Java中,我們有3種方式可以用來創(chuàng)建線程。

Java中的線程要么繼承Thread類,要么實(shí)現(xiàn)Runnable接口,我們一一道來。

使用內(nèi)部類來創(chuàng)建線程

我們可以使用內(nèi)部類的方式來創(chuàng)建線程,過程是聲明一個(gè)Thread類型的變量,并重寫run方法。示例代碼如下:

復(fù)制代碼 代碼如下:

使用內(nèi)部類創(chuàng)建線程
 public static void createThreadByNestClass()
 {
     Thread thread = new Thread()
     {
         public void run()
         {
             for (int i =0; i < 5; i++)
             {
                 System.out.println("Thread " + Thread.currentThread().getName() + " is running.");
             }
             System.out.println("Thread " + Thread.currentThread().getName() + " is finished.");
         }
     };
     thread.start();
 }

繼承Thread以創(chuàng)建線程

我們可以從Thread中派生一個(gè)類,重寫其run方法,這種方式和上面相似。示例代碼如下:

復(fù)制代碼 代碼如下:

派生Thread類以創(chuàng)建線程
 class MyThread extends Thread
 {
     public void run()
     {
         for (int i =0; i < 5; i++)
         {
             System.out.println("Thread " + Thread.currentThread().getName() + " is running.");
         }
         System.out.println("Thread " + Thread.currentThread().getName() + " is finished.");
     }
 }

 
 public static void createThreadBySubClass()
 {
     MyThread thread = new MyThread();
     thread.start();
 }

實(shí)現(xiàn)Runnable接口以創(chuàng)建線程

我們可以定義一個(gè)類,使其實(shí)現(xiàn)Runnable接口,然后將該類的實(shí)例作為構(gòu)建Thread變量構(gòu)造函數(shù)的參數(shù)。示例代碼如下:

復(fù)制代碼 代碼如下:

實(shí)現(xiàn)Runnable接口以創(chuàng)建線程
 class MyRunnable implements Runnable
 {
     public void run()
     {
         for (int i =0; i < 5; i++)
         {
             System.out.println("Thread " + Thread.currentThread().getName() + " is running.");
         }
         System.out.println("Thread " + Thread.currentThread().getName() + " is finished.");
     }
 }

 
 public static void createThreadByRunnable()
 {
     MyRunnable runnable = new MyRunnable();
     Thread thread = new Thread(runnable);
     thread.start();
 }

上述3種方式都可以創(chuàng)建線程,而且從示例代碼上看,線程執(zhí)行的功能是一樣的,那么這三種創(chuàng)建方式有什么不同呢?

這涉及到Java中多線程的運(yùn)行模式,對于Java來說,多線程在運(yùn)行時(shí),有“多對象多線程”和“單對象多線程”的區(qū)別:

    多對象多線程,程序在運(yùn)行過程中創(chuàng)建多個(gè)線程對象,每個(gè)對象上運(yùn)行一個(gè)線程。
    單對象多線程,程序在運(yùn)行過程中創(chuàng)建一個(gè)線程對象,在其上運(yùn)行多個(gè)線程。

顯然,從線程同步和調(diào)度的角度來看,多對象多線程要簡單一些。上述3種線程創(chuàng)建方式,前兩種都屬于“多對象多線程”,第三種既可以使用“多對象多線程”,也可以使用“單對象單線程”。

我們來看下面的示例代碼,里面會用到Object.notify方法,這個(gè)方法會喚醒對象上的一個(gè)線程;而Object.notifyAll方法,則會喚醒對象上的所有線程。

復(fù)制代碼 代碼如下:

notify示例
 public class NotifySample {

     public static void main(String[] args) throws InterruptedException
     {
         notifyTest();
         notifyTest2();
         notifyTest3();
     }

     private static void notifyTest() throws InterruptedException
     {
         MyThread[] arrThreads = new MyThread[3];
         for (int i = 0; i < arrThreads.length; i++)
         {
             arrThreads[i] = new MyThread();
             arrThreads[i].id = i;
             arrThreads[i].setDaemon(true);
             arrThreads[i].start();
         }
         Thread.sleep(500);
         for (int i = 0; i < arrThreads.length; i++)
         {
             synchronized(arrThreads[i])
             {
                 arrThreads[i].notify();
             }
         }
     }

     private static void notifyTest2() throws InterruptedException
     {
         MyRunner[] arrMyRunners = new MyRunner[3];
         Thread[] arrThreads = new Thread[3];
         for (int i = 0; i < arrThreads.length; i++)
         {
             arrMyRunners[i] = new MyRunner();
             arrMyRunners[i].id = i;
             arrThreads[i] = new Thread(arrMyRunners[i]);
             arrThreads[i].setDaemon(true);
             arrThreads[i].start();
         }
         Thread.sleep(500);
         for (int i = 0; i < arrMyRunners.length; i++)
         {
             synchronized(arrMyRunners[i])
             {
                 arrMyRunners[i].notify();
             }
         }
     }

     private static void notifyTest3() throws InterruptedException
     {
         MyRunner runner = new MyRunner();
         Thread[] arrThreads = new Thread[3];
         for (int i = 0; i < arrThreads.length; i++)
         {
             arrThreads[i] = new Thread(runner);
             arrThreads[i].setDaemon(true);
             arrThreads[i].start();
         }
         Thread.sleep(500);

         synchronized(runner)
         {
             runner.notifyAll();
         }
     }
 }

 class MyThread extends Thread
 {
     public int id = 0;
     public void run()
     {
         System.out.println("第" + id + "個(gè)線程準(zhǔn)備休眠5分鐘。");
         try
         {
             synchronized(this)
             {
                 this.wait(5*60*1000);
             }
         }
         catch(InterruptedException ex)
         {
             ex.printStackTrace();
         }
         System.out.println("第" + id + "個(gè)線程被喚醒。");
     }
 }

 class MyRunner implements Runnable
 {
     public int id = 0;
     public void run()
     {
         System.out.println("第" + id + "個(gè)線程準(zhǔn)備休眠5分鐘。");
         try
         {
             synchronized(this)
             {
                 this.wait(5*60*1000);
             }
         }
         catch(InterruptedException ex)
         {
             ex.printStackTrace();
         }
         System.out.println("第" + id + "個(gè)線程被喚醒。");
     }

 }

示例代碼中,notifyTest()和notifyTest2()是“多對象多線程”,盡管notifyTest2()中的線程實(shí)現(xiàn)了Runnable接口,但是它里面定義Thread數(shù)組時(shí),每個(gè)元素都使用了一個(gè)新的Runnable實(shí)例。notifyTest3()屬于“單對象多線程”,因?yàn)槲覀冎欢x了一個(gè)Runnable實(shí)例,所有的線程都會使用這個(gè)實(shí)例。

notifyAll方法適用于“單對象多線程”的情景,因?yàn)閚otify方法只會隨機(jī)喚醒對象上的一個(gè)線程。

線程的狀態(tài)切換

對于線程來講,從我們創(chuàng)建它一直到線程運(yùn)行結(jié)束,在這個(gè)過程中,線程的狀態(tài)可能是這樣的:

    創(chuàng)建:已經(jīng)有Thread實(shí)例了, 但是CPU還有為其分配資源和時(shí)間片。
    就緒:線程已經(jīng)獲得了運(yùn)行所需的所有資源,只等CPU進(jìn)行時(shí)間調(diào)度。
    運(yùn)行:線程位于當(dāng)前CPU時(shí)間片中,正在執(zhí)行相關(guān)邏輯。
    休眠:一般是調(diào)用Thread.sleep后的狀態(tài),這時(shí)線程依然持有運(yùn)行所需的各種資源,但是不會被CPU調(diào)度。
    掛起:一般是調(diào)用Thread.suspend后的狀態(tài),和休眠類似,CPU不會調(diào)度該線程,不同的是,這種狀態(tài)下,線程會釋放所有資源。
    死亡:線程運(yùn)行結(jié)束或者調(diào)用了Thread.stop方法。

下面我們來演示如何進(jìn)行線程狀態(tài)切換,首先我們會用到下面方法:

    Thread()或者Thread(Runnable):構(gòu)造線程。
    Thread.start:啟動線程。
    Thread.sleep:將線程切換至休眠狀態(tài)。
    Thread.interrupt:中斷線程的執(zhí)行。
    Thread.join:等待某線程結(jié)束。
    Thread.yield:剝奪線程在CPU上的執(zhí)行時(shí)間片,等待下一次調(diào)度。
    Object.wait:將Object上所有線程鎖定,直到notify方法才繼續(xù)運(yùn)行。
    Object.notify:隨機(jī)喚醒Object上的1個(gè)線程。
    Object.notifyAll:喚醒Object上的所有線程。

下面,就是演示時(shí)間啦!??!

線程等待與喚醒

這里主要使用Object.wait和Object.notify方法,請參見上面的notify實(shí)例。需要注意的是,wait和notify都必須針對同一個(gè)對象,當(dāng)我們使用實(shí)現(xiàn)Runnable接口的方式來創(chuàng)建線程時(shí),應(yīng)該是在Runnable對象而非Thread對象上使用這兩個(gè)方法。

線程的休眠與喚醒

復(fù)制代碼 代碼如下:

Thread.sleep實(shí)例
 public class SleepSample {

     public static void main(String[] args) throws InterruptedException
     {
         sleepTest();
     }

     private static void sleepTest() throws InterruptedException
     {
         Thread thread = new Thread()
         {
             public void run()
             {
                 System.out.println("線程 " + Thread.currentThread().getName() + "將要休眠5分鐘。");
                 try
                 {
                     Thread.sleep(5*60*1000);
                 }
                 catch(InterruptedException ex)
                 {
                     System.out.println("線程 " + Thread.currentThread().getName() + "休眠被中斷。");
                 }
                 System.out.println("線程 " + Thread.currentThread().getName() + "休眠結(jié)束。");
             }
         };
         thread.setDaemon(true);
         thread.start();
         Thread.sleep(500);
         thread.interrupt();
     }

 }

線程在休眠過程中,我們可以使用Thread.interrupt將其喚醒,這時(shí)線程會拋出InterruptedException。

線程的終止

雖然有Thread.stop方法,但該方法是不被推薦使用的,我們可以利用上面休眠與喚醒的機(jī)制,讓線程在處理IterruptedException時(shí),結(jié)束線程。

復(fù)制代碼 代碼如下:

Thread.interrupt示例
 public class StopThreadSample {

     public static void main(String[] args) throws InterruptedException
     {
         stopTest();
     }

     private static void stopTest() throws InterruptedException
     {
         Thread thread = new Thread()
         {
             public void run()
             {
                 System.out.println("線程運(yùn)行中。");
                 try
                 {
                     Thread.sleep(1*60*1000);
                 }
                 catch(InterruptedException ex)
                 {
                     System.out.println("線程中斷,結(jié)束線程");
                     return;
                 }
                 System.out.println("線程正常結(jié)束。");
             }
         };
         thread.start();
         Thread.sleep(500);
         thread.interrupt();
     }
 }

線程的同步等待

當(dāng)我們在主線程中創(chuàng)建了10個(gè)子線程,然后我們期望10個(gè)子線程全部結(jié)束后,主線程在執(zhí)行接下來的邏輯,這時(shí),就該Thread.join登場了。

復(fù)制代碼 代碼如下:

Thread.join示例
 public class JoinSample {

     public static void main(String[] args) throws InterruptedException
     {
         joinTest();
     }

     private static void joinTest() throws InterruptedException
     {
         Thread thread = new Thread()
         {
             public void run()
             {
                 try
                 {
                     for(int i = 0; i < 5; i++)
                     {
                         System.out.println("線程在運(yùn)行。");
                         Thread.sleep(1000);
                     }
                 }
                 catch(InterruptedException ex)
                 {
                     ex.printStackTrace();
                 }
             }
         };
         thread.setDaemon(true);
         thread.start();
         Thread.sleep(1000);
         thread.join();
         System.out.println("主線程正常結(jié)束。");
     }
 }

我們可以試著將thread.join();注釋或者刪除,再次運(yùn)行程序,就可以發(fā)現(xiàn)不同了。

線程間通信

我們知道,一個(gè)進(jìn)程下面的所有線程是共享內(nèi)存空間的,那么我們?nèi)绾卧诓煌木€程之間傳遞消息呢?在回顧 Java I/O時(shí),我們談到了PipedStream和PipedReader,這里,就是它們發(fā)揮作用的地方了。

下面的兩個(gè)示例,功能完全一樣,不同的是一個(gè)使用Stream,一個(gè)使用Reader/Writer。

復(fù)制代碼 代碼如下:

PipeInputStream/PipedOutpueStream 示例
 public static void communicationTest() throws IOException, InterruptedException
 {
     final PipedOutputStream pos = new PipedOutputStream();
     final PipedInputStream pis = new PipedInputStream(pos);

     Thread thread1 = new Thread()
     {
         public void run()
         {
             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
             try
             {
                 while(true)
                 {
                     String message = br.readLine();
                     pos.write(message.getBytes());
                     if (message.equals("end")) break;
                 }
                 br.close();
                 pos.close();
             }
             catch(Exception ex)
             {
                 ex.printStackTrace();
             }
         }
     };

     Thread thread2 = new Thread()
     {
         public void run()
         {
             byte[] buffer = new byte[1024];
             int bytesRead = 0;
             try
             {
                 while((bytesRead = pis.read(buffer, 0, buffer.length)) != -1)
                 {
                     System.out.println(new String(buffer));
                     if (new String(buffer).equals("end")) break;
                     buffer = null;
                     buffer = new byte[1024];
                 }
                 pis.close();
                 buffer = null;
             }
             catch(Exception ex)
             {
                 ex.printStackTrace();
             }
         }
     };

     thread1.setDaemon(true);
     thread2.setDaemon(true);
     thread1.start();
     thread2.start();
     thread1.join();
     thread2.join();
 }

復(fù)制代碼 代碼如下:

PipedReader/PipedWriter 示例
 private static void communicationTest2() throws InterruptedException, IOException
 {
     final PipedWriter pw = new PipedWriter();
     final PipedReader pr = new PipedReader(pw);
     final BufferedWriter bw = new BufferedWriter(pw);
     final BufferedReader br = new BufferedReader(pr);

     Thread thread1 = new Thread()
     {
         public void run()
         {

             BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
             try
             {
                 while(true)
                 {
                     String message = br.readLine();
                     bw.write(message);
                     bw.newLine();
                     bw.flush();
                     if (message.equals("end")) break;
                 }
                 br.close();
                 pw.close();
                 bw.close();
             }
             catch(Exception ex)
             {
                 ex.printStackTrace();
             }
         }
     };

     Thread thread2 = new Thread()
     {
         public void run()
         {

             String line = null;
             try
             {
                 while((line = br.readLine()) != null)
                 {
                     System.out.println(line);
                     if (line.equals("end")) break;
                 }
                 br.close();
                 pr.close();
             }
             catch(Exception ex)
             {
                 ex.printStackTrace();
             }
         }
     };

     thread1.setDaemon(true);
     thread2.setDaemon(true);
     thread1.start();
     thread2.start();
     thread1.join();
     thread2.join();
 }

相關(guān)文章

  • Java實(shí)現(xiàn)一個(gè)簡單的長輪詢的示例代碼

    Java實(shí)現(xiàn)一個(gè)簡單的長輪詢的示例代碼

    長輪詢是與服務(wù)器保持即時(shí)通信的最簡單的方式,它不使用任何特定的協(xié)議,例如 WebSocket ,所以也不依賴于瀏覽器版本等外部條件的兼容性。本文將用Java實(shí)現(xiàn)一個(gè)簡單的長輪詢,需要的可以參考一下
    2022-08-08
  • Java中StringBuilder字符串類型的操作方法及API整理

    Java中StringBuilder字符串類型的操作方法及API整理

    Java中的StringBuffer類繼承于AbstractStringBuilder,用來創(chuàng)建非線程安全的字符串類型對象,下面即是對Java中StringBuilder字符串類型的操作方法及API整理
    2016-05-05
  • SpringData關(guān)鍵字查詢實(shí)現(xiàn)方法詳解

    SpringData關(guān)鍵字查詢實(shí)現(xiàn)方法詳解

    這篇文章主要介紹了SpringData關(guān)鍵字查詢實(shí)現(xiàn)方法詳解,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下
    2020-08-08
  • Java System.setProperty()用法詳解

    Java System.setProperty()用法詳解

    這篇文章主要介紹了Java System.setProperty()用法詳解,本篇文章通過簡要的案例,講解了該項(xiàng)技術(shù)的了解與使用,以下就是詳細(xì)內(nèi)容,需要的朋友可以參考下
    2021-08-08
  • 字節(jié)二面SpringBoot可以同時(shí)處理多少請求

    字節(jié)二面SpringBoot可以同時(shí)處理多少請求

    這篇文章主要為大家介紹了字節(jié)二面之SpringBoot可以同時(shí)處理多少請求面試分析,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪
    2023-07-07
  • 求1000階乘的結(jié)果末尾有多少個(gè)0

    求1000階乘的結(jié)果末尾有多少個(gè)0

    題目是:求1000!的結(jié)果末尾有多少個(gè)0,解題思路:兩個(gè)素?cái)?shù)2、5,相乘即可得到10,我們可以認(rèn)為,有多少組2、5,結(jié)尾就有多少個(gè)0,下面是代碼,需要的朋友可以參考下
    2014-02-02
  • Java 位運(yùn)算符>>與>>>區(qū)別案例詳解

    Java 位運(yùn)算符>>與>>>區(qū)別案例詳解

    這篇文章主要介紹了Java 位運(yùn)算符>>與>>>區(qū)別案例詳解,本篇文章通過簡要的案例,講解了該項(xiàng)技術(shù)的了解與使用,以下就是詳細(xì)內(nèi)容,需要的朋友可以參考下
    2021-08-08
  • Java使用字節(jié)流復(fù)制文件的方法

    Java使用字節(jié)流復(fù)制文件的方法

    這篇文章主要為大家詳細(xì)介紹了Java使用字節(jié)流復(fù)制文件的方法,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下
    2017-05-05
  • java制作復(fù)制文件工具代碼分享

    java制作復(fù)制文件工具代碼分享

    如果目標(biāo)位置沒有同名文件,則直接拷貝過去;如果目標(biāo)位置已有同名文件,則比對文件的最后修改日期,來進(jìn)行覆蓋或者忽略。程序會在可以在復(fù)制過程中自動創(chuàng)建目錄,并生成log文件,創(chuàng)建了哪些目錄、文件,覆蓋了哪些文件、跳過了哪些文件,文件的時(shí)間、位置等信息都一目了然
    2014-01-01
  • java中Object類4種方法詳細(xì)介紹

    java中Object類4種方法詳細(xì)介紹

    大家好,本篇文章主要講的是java中Object類4種方法詳細(xì)介紹,感興趣的同學(xué)趕快來看一看吧,對你有幫助的話記得收藏一下,方便下次瀏覽
    2022-01-01

最新評論

绥德县| 文昌市| 长寿区| 宝鸡市| 洪湖市| 呈贡县| 马公市| 宝坻区| 东明县| 临沂市| 保定市| 崇信县| 衡阳县| 枣庄市| 绩溪县| 贵德县| 吴川市| 巩留县| 桂东县| 三河市| 东兴市| 东城区| 中牟县| 乌苏市| 乌拉特后旗| 靖西县| 苗栗市| 张北县| 临海市| 平山县| 报价| 安丘市| 安泽县| 嵊州市| 临沭县| 高雄县| 甘谷县| 隆子县| 丹寨县| 随州市| 长沙县|