MCPcopy Create free account

hub / github.com/PacktPublishing/Java-9-Concurrency-Cookbook-Second-Edition / functions

Functions896 in github.com/PacktPublishing/Java-9-Concurrency-Cookbook-Second-Edition

↓ 81 callersMethodgetName
Returns the name of the task @return Name of the task that generates the result
Chapter04/ch04_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter04/recipe04/task/Result.java:21
↓ 49 callersMethodgetTime
@return the time
Chapter07/ch07_recipe06/src/com/packtpub/java8/concurrency/cookbook/chapter07/recipe06/util/Operation.java:44
↓ 46 callersMethodget
Returns a line from the buffer @return a line from the buffer
Chapter02/ch02_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe05/task/Buffer.java:82
↓ 33 callersMethodunlock
Method that release the lock
Chapter08/ch08_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe08/task/MyLock.java:77
↓ 30 callersMethodlock
Method that try to acquire the lock. If it can't, the thread will be blocked until the thread that has it release the lock
Chapter08/ch08_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe08/task/MyLock.java:31
↓ 27 callersMethodshutdown
This method is called to finish the execution of the Executor. We write statistics about the tasks executed in it
Chapter08/ch08_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe01/executor/MyExecutor.java:45
↓ 20 callersMethodgetName
@return the name
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/BasicPerson.java:10
↓ 14 callersMethodcarIn
Method that increments the internal counter if it has a value less than the maximum. Is implemented to be and atomic operation @return True if the car
Chapter08/ch08_recipe10/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe10/task/ParkingCounter.java:37
↓ 13 callersMethodgetId
@return the id
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:17
↓ 13 callersMethodgetSalary
@return the salary
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:77
↓ 9 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:32
↓ 9 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:47
↓ 9 callersMethodgetName
@return the name
Chapter08/ch08_recipe11/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe11/spliterator/Item.java:41
↓ 8 callersMethodget
()
Chapter03/ch03_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter03/recipe07/task/NumberListGenerator.java:15
↓ 8 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:32
↓ 8 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:32
↓ 8 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:32
↓ 8 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:47
↓ 8 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:47
↓ 8 callersMethodtoString
()
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:109
↓ 7 callersMethodcount
Count the appearances of a word in a part of a line of a document @param line A line of the document @param start Position of the line where the metho
Chapter05/ch05_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe02/task/LineTask.java:100
↓ 6 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:32
↓ 6 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:47
↓ 6 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:47
↓ 6 callersMethodgetName
Method that returns the name of the contact @return The name of the contact
Chapter07/ch07_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter07/recipe05/util/Contact.java:37
↓ 6 callersMethodgetName
Method that returns the name of the console @return The name of the task
Chapter08/ch08_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter08/reciper07/task/MyWorkerTask.java:69
↓ 6 callersMethodset
This method creates and storage an event.
Chapter02/ch02_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe02/task/EventStorage.java:35
↓ 5 callersMethodcarOut
Method that decrements the internal counter if it has a value bigger than 0. Is implemented to be and atomic operation @return True if the car leave t
Chapter08/ch08_recipe10/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe10/task/ParkingCounter.java:61
↓ 5 callersMethodgenerateStreamFromList
(List<Double> list)
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/DoubleGenerator.java:21
↓ 5 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:32
↓ 5 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:32
↓ 5 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:47
↓ 5 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:47
↓ 5 callersMethodgetPriority
Method that returns the priority of the event @return The priority of the event
Chapter07/ch07_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter07/recipe03/task/Event.java:47
↓ 5 callersMethodgetValue
Returns the value of the result @return The value of the result
Chapter04/ch04_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter04/recipe04/task/Result.java:37
↓ 5 callersMethodrequest
(long value)
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/MySubscription.java:15
↓ 5 callersMethodsubscribe
(Subscriber<? super News> subscriber)
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/MyPublisher.java:21
↓ 5 callersMethodtake
Method that returns the first element of the queue or is blocked if the queue is empty. If there is transfered elements, takes the first transfered el
Chapter08/ch08_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe09/task/MyPriorityTransferQueue.java:163
↓ 4 callersMethodcharacteristics
()
Chapter08/ch08_recipe11/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe11/spliterator/MySpliterator.java:18
↓ 4 callersMethodget
()
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/MySupplier.java:14
↓ 4 callersMethodgetPhone
Method that returns the phone number of the contact @return
Chapter07/ch07_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter07/recipe05/util/Contact.java:46
↓ 4 callersMethodgetResultList
Method that return the list of results @return the resultList
Chapter05/ch05_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe03/task/FolderProcessor.java:132
↓ 3 callersMethodcancel
()
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/MySubscription.java:10
↓ 3 callersMethodclose
()
Chapter02/ch02_recipe01_problem/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingCash.java:17
↓ 3 callersMethodequals
(Object object)
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:129
↓ 3 callersMethodget
()
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/MySupplier.java:14
↓ 3 callersMethodgetContent
@return the content
Chapter06/ch06_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe09/items/Item.java:22
↓ 3 callersMethodgetCounter
@return the counter
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Counter.java:27
↓ 3 callersMethodgetDelay
Method that returns the remaining time to the activation of the event
Chapter07/ch07_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter07/recipe04/task/Event.java:45
↓ 3 callersMethodgetName
Return the name of the validation system @return The name of the validation system
Chapter04/ch04_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter04/recipe03/task/UserValidator.java:54
↓ 3 callersMethodgetPrice
This method returns the price of the product @return the price of the product
Chapter05/ch05_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe01/util/Product.java:39
↓ 3 callersMethodgetSalary
@return the salary
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:77
↓ 3 callersMethodgetTitle
@return the title
Chapter06/ch06_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe09/items/Item.java:10
↓ 3 callersMethodgetUser
@return the user
Chapter07/ch07_recipe06/src/com/packtpub/java8/concurrency/cookbook/chapter07/recipe06/util/Operation.java:14
↓ 3 callersMethodgetX
@return the x
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Point.java:10
↓ 3 callersMethodgetX
()
Chapter02/ch02_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe06/task/Position.java:8
↓ 3 callersMethodgetY
@return the y
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Point.java:22
↓ 3 callersMethodgetY
()
Chapter02/ch02_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe06/task/Position.java:16
↓ 3 callersMethodhasPendingLines
Returns the value of the variable @return the value of the variable
Chapter02/ch02_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe05/task/Buffer.java:117
↓ 3 callersMethodincrement
()
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Counter.java:37
↓ 3 callersMethodisPeriodic
Method that returns if the task is periodic or not. It calls the isPeriodic() method of the original task
Chapter08/ch08_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe05/task/MyScheduledTask.java:89
↓ 2 callersMethodaddTask
Method to add a new Task in the list @param task The new task
Chapter05/ch05_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe05/util/TaskManager.java:31
↓ 2 callersMethodarrive
This method is called by every participant when he incorporates to the VideoConference @param participant
Chapter03/ch03_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter03/recipe02/task/Videoconference.java:32
↓ 2 callersMethodcarComeIn
()
Chapter02/ch02_recipe01_problem/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:23
↓ 2 callersMethodcarComeIn
()
Chapter02/ch02_recipe01_solution/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:32
↓ 2 callersMethodcarGoOut
()
Chapter02/ch02_recipe01_problem/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:27
↓ 2 callersMethodcarGoOut
()
Chapter02/ch02_recipe01_solution/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:38
↓ 2 callersMethodcheckResults
This method checks if there are results after the execution of a phase. If there aren't results, deregister the thread of the phaser. @return true if
Chapter03/ch03_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter03/recipe04/task/FileSearch.java:113
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:114
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:114
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:114
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:114
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:114
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:114
↓ 2 callersMethodcompareTo
(Person otherPerson)
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:114
↓ 2 callersMethoddoExercise
Does an exercise is to wait a random time
Chapter03/ch03_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter03/recipe05/task/Student.java:46
↓ 2 callersMethodexecuteTask
This method is called when a request to the server is made. The server uses the executor to execute the request that it receives @param task The reque
Chapter04/ch04_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter04/recipe01/task/Server.java:36
↓ 2 callersMethodformat
Method that formats the log message. It's declared as abstract in the Formatter class. It's called by the Logger class. It receives a LogRecord object
Chapter09/ch09_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter09/recipe06/logger/MyFormatter.java:20
↓ 2 callersMethodgenerate
This method generates the list of products @param size the size of the product list @return the generated list of products
Chapter05/ch05_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe01/util/ProductListGenerator.java:18
↓ 2 callersMethodget
()
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/MySupplier.java:14
↓ 2 callersMethodget
()
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/MySupplier.java:14
↓ 2 callersMethodgetBalance
Returns the balance of the account @return the balance of the account
Chapter07/ch07_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter07/recipe07/task/Account.java:39
↓ 2 callersMethodgetConsumer
@return the consumer
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/ConsumerData.java:10
↓ 2 callersMethodgetFirstName
@return the firstName
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:36
↓ 2 callersMethodgetFirstName
@return the firstName
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:31
↓ 2 callersMethodgetLastName
@return the lastName
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:51
↓ 2 callersMethodgetLogger
Static method that returns the log object associated with the name received as parameter. If it's a new Logger object, this method configures it with
Chapter09/ch09_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter09/recipe06/logger/MyLoggerFactory.java:32
↓ 2 callersMethodgetName
This method returns the name of the product @return the name of the product
Chapter05/ch05_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe01/util/Product.java:23
↓ 2 callersMethodgetOperation
@return the operation
Chapter07/ch07_recipe06/src/com/packtpub/java8/concurrency/cookbook/chapter07/recipe06/util/Operation.java:29
↓ 2 callersMethodgetPriority
Method that returns the priority of the event @return The priority of the event
Chapter08/ch08_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe09/task/Event.java:43
↓ 2 callersMethodgetPriority
Method that returns the priority of the task @return the priority of the task
Chapter08/ch08_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe02/task/MyPriorityTask.java:38
↓ 2 callersMethodgetSalary
@return the salary
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:77
↓ 2 callersMethodgetSalary
@return the salary
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:77
↓ 2 callersMethodgetSalary
@return the salary
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:77
↓ 2 callersMethodgetWaitingConsumerCount
Method that returns the number of waiting consumers
Chapter08/ch08_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe09/task/MyPriorityTransferQueue.java:151
↓ 2 callersMethodhasMoreLines
Returns true if the file has more lines to process or false if not @return true if the file has more lines to process or false if not
Chapter02/ch02_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe05/utils/FileMock.java:45
↓ 2 callersMethodnewCondition
Method that creates a new condition for the lock
Chapter08/ch08_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe08/task/MyLock.java:85
↓ 2 callersMethodprocessData
()
Chapter11/app_recipe04/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe04/utils/Operations.java:23
↓ 2 callersMethodpublish
(News news)
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/MyPublisher.java:35
↓ 2 callersMethodreadData
()
Chapter11/app_recipe04/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe04/utils/Operations.java:7
next →1–100 of 896, ranked by callers