Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Beerkay/JavaMultiThreading
/ types & classes
Types & classes
42 in github.com/Beerkay/JavaMultiThreading
⨍
Functions
93
◇
Types & classes
42
Class
Account
Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://www.caveofprogramming.com/youtube/</em> </a> <br> a
JavaMultiThreadingCodes/src/Deadlock_11/Account.java:16
Class
App
{@link java.util.concurrent.Semaphore}s are mainly used to limit the number of simultaneous threads that can access a resources, but you can also use
JavaMultiThreadingCodes/src/Semaphores_12/App.java:50
Class
App
JavaMultiThreadingCodes/src/VolatileKeyword_2/App.java:42
Class
App
JavaMultiThreadingCodes/src/ProducerConsumer_7/App.java:27
Class
App
<a href="https://wikipedia.org/wiki/Deadlock">Deadlock</a> can occur in a situation when a thread is waiting for an object's lock, that is acquired by
JavaMultiThreadingCodes/src/Deadlock_11/App.java:24
Class
App
the {@link java.util.concurrent.locks.ReentrantLock} class in Java as an alternative to synchronized code blocks. <br> {@link java.util.concurrent.loc
JavaMultiThreadingCodes/src/ReentrantLocks_10/App.java:69
Class
App
Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://www.caveofprogramming.com/youtube/</em> </a> <br> a
JavaMultiThreadingCodes/src/LockObjects_4/App.java:16
Class
App
How to implement the Producer-Consumer pattern using "low level" techniques; namely, wait, notify and synchronized. This isn't the best way to impleme
JavaMultiThreadingCodes/src/LowLevelProducerConsumer_9/App.java:23
Class
App
{@link java.util.concurrent.Callable} and {@link java.util.concurrent.Future} in Java to get results from your threads and to allow your threads to th
JavaMultiThreadingCodes/src/CallableAndFuture_13/App.java:33
Class
App
{@link Object#wait()} and {@link Object#notify()} in Java; low-level multi-threading methods of the {@link java.lang.Object} class that allow you to h
JavaMultiThreadingCodes/src/WaitAndNotify_8/App.java:22
Class
App
JavaMultiThreadingCodes/src/CountDownLatch_6/App.java:57
Class
App
<b>How to interrupt running threads in Java using the built-in thread interruption mechanism.</b> <br><br> Source: <a href="http://www.javamex.com/tut
JavaMultiThreadingCodes/src/InterruptingThreads14/App.java:32
Class
App
JavaMultiThreadingCodes/src/ThreadPools_5/App.java:40
Class
App2
JavaMultiThreadingCodes/src/CallableAndFuture_13/App2.java:31
Class
ApplicationAnonymous
Starting threads using the Thread constructor with anonymous classes <br><br> Codes with minor comments are from <a href="http://www.caveofprogramming
JavaMultiThreadingCodes/src/StartingThreads_1/ApplicationAnonymous.java:18
Class
ApplicationExtends
JavaMultiThreadingCodes/src/StartingThreads_1/ApplicationExtends.java:33
Class
ApplicationRunnable
JavaMultiThreadingCodes/src/StartingThreads_1/ApplicationRunnable.java:34
Class
BlockingQueue
JavaMultiThreadingCodes/src/WaitAndNotify_8/BlockingQueueApp.java:55
Class
BlockingQueueApp
JavaMultiThreadingCodes/src/WaitAndNotify_8/BlockingQueueApp.java:102
Class
CallableImpl
Source: <a href="http://java-x.blogspot.com.tr/2006/11/java-5-concurrency-callable-and-future.html"> http://java-x.blogspot.com.tr/2006/11/java-5-conc
JavaMultiThreadingCodes/src/CallableAndFuture_13/CallableTester.java:48
Class
CallableTester
JavaMultiThreadingCodes/src/CallableAndFuture_13/CallableTester.java:73
Class
Connection
Semaphores <br><br> Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://www.caveofprogramming.com/youtu
JavaMultiThreadingCodes/src/Semaphores_12/Connection.java:20
Class
Connectionn
Semaphores <br><br> Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://www.caveofprogramming.com/youtu
JavaMultiThreadingCodes/src/Semaphores_12/Connectionn.java:20
Class
MyCallable
Understanding Callable @author Z.B. Celik <celik.berkay@gmail.com>
JavaMultiThreadingCodes/src/CallableAndFuture_13/App2.java:11
Class
Processor
JavaMultiThreadingCodes/src/VolatileKeyword_2/App.java:21
Class
Processor
Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://www.caveofprogramming.com/youtube/</em> </a> <br> a
JavaMultiThreadingCodes/src/LowLevelProducerConsumer_9/Processor.java:19
Class
Processor
Some background knowledge<br> Source: <em>http://www.programcreek.com/2009/02/notify-and-wait-example/</em> <br><br> {@code synchronized} keyword is u
JavaMultiThreadingCodes/src/WaitAndNotify_8/Processor.java:38
Class
Processor
{@link java.util.concurrent.CountDownLatch} Java class to synchronize your threads’ activities. <br><br> Source: <em>http://stackoverflow.com/question
JavaMultiThreadingCodes/src/CountDownLatch_6/App.java:39
Class
Processor
JavaMultiThreadingCodes/src/ThreadPools_5/App.java:22
Class
Runner
<a href="https://wikipedia.org/wiki/Deadlock">Deadlock</a> <br><br> Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtu
JavaMultiThreadingCodes/src/Deadlock_11/Runner.java:22
Class
Runner
Source:<em> http://www.journaldev.com/2377/java-lock-example-and-concurrency-lock-vs-synchronized</em> <p> {@link java.util.concurrent.locks.Lock}: Th
JavaMultiThreadingCodes/src/ReentrantLocks_10/Runner.java:50
Class
Runner
Starting Threads with extends <br><br> Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://www.caveofpr
JavaMultiThreadingCodes/src/StartingThreads_1/ApplicationExtends.java:18
Class
RunnerRunnable
Starting Threads using Runnable Interface <br><br> Codes with minor comments are from <a href="http://www.caveofprogramming.com/youtube/"> <em>http://
JavaMultiThreadingCodes/src/StartingThreads_1/ApplicationRunnable.java:18
Class
SimpleDeadLock
Source: http://www.herongyang.com/Java/Deadlock-What-Is-Deadlock.html <p> <a href="https://wikipedia.org/wiki/Deadlock">Deadlock</a> is a programming
JavaMultiThreadingCodes/src/Deadlock_11/SimpleDeadLock.java:13
Class
Thread1
JavaMultiThreadingCodes/src/Deadlock_11/SimpleDeadLock.java:26
Class
Thread2
JavaMultiThreadingCodes/src/Deadlock_11/SimpleDeadLock.java:42
Class
Worker
{@code synchronized} ("only let one thread in here at a time".) and {@code join} ("wait until thread on which join has called finished") keyword. <br>
JavaMultiThreadingCodes/src/JoiningAndSynchronizeThreads_3/Worker.java:22
Class
Worker
Multiple locks to speed up complex multi-threaded code. Define shared objects: list1 and list2 then synchronize these objects. Mainly discussing makin
JavaMultiThreadingCodes/src/LockObjects_4/Worker.java:26
Class
Worker
This is the implementation of {@link LockObjects_4.Worker} with threadPool <br><br> Codes with minor comments are from <a href="http://www.caveofprogr
JavaMultiThreadingCodes/src/ThreadPools_5/WorkerThreadPool.java:25
Class
WorkerMethodsSynchronized
Multiple locks to speed up complex multi-threaded code. Define shared objects: list1 and list2 then synchronize these objects. Mainly discussing makin
JavaMultiThreadingCodes/src/LockObjects_4/WorkerMethodsSynchronized.java:26
Class
WorkerThreadPool
JavaMultiThreadingCodes/src/ThreadPools_5/WorkerThreadPool.java:70
Class
tests
Tests to understand the concepts of Multi-Threading in Java @author Z.B. Celik <celik.berkay@gmail.com>
JavaMultiThreadingCodes/src/tests.java:10