MCPcopy Create free account

hub / github.com/Viscent/javamtp / functions

Functions527 in github.com/Viscent/javamtp

↓ 46 callersMethodget
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch1/ThreadSafeCounter.java:31
↓ 40 callersMethodinfo
(String format, Object... args)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Debug.java:46
↓ 35 callersMethodput
往通道中存储一个“产品”。 @param product “产品” @throws InterruptedException
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch7/pc/Channel.java:40
↓ 25 callersMethodgetName
()
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Debug.java:37
↓ 16 callersMethodclose
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/RecordSource.java:7
↓ 14 callersMethodtake
从通道中取出一个“产品”。 @return “产品” @throws InterruptedException
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch7/pc/Channel.java:31
↓ 13 callersMethodnextInt
(int upperBound)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/example/ThreadSpecificSecureRandom.java:50
↓ 13 callersMethodshutdown
停止当前Pipe实例对外提供的服务。 @param timeout @param unit
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/Pipe.java:50
↓ 12 callersMethodprintLog
(LogEntry entry)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/Logger.java:49
↓ 11 callersMethoddisconnect
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch6/promise/example/FTPUploader.java:11
↓ 11 callersMethodsubmit
用于Master向其提交一个子任务。 @param task 子任务 @return 可借以获取子任务处理结果的Promise(参见第6章,Promise模式)实例。 @throws InterruptedException
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/SlaveSpec.java:37
↓ 11 callersMethodterminate
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch5/tpt/Terminatable.java:17
↓ 10 callersMethodget
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/ManagedThreadLocal.java:45
↓ 10 callersMethodprocess
对输入元素进行处理,并将处理结果作为下一个Pipe实例的输入。
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/Pipe.java:55
↓ 9 callersMethodrandomPause
(int maxPauseTime)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Tools.java:83
↓ 8 callersMethodequals
(Object obj)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:95
↓ 8 callersMethodinit
初始化当前Pipe实例对外提供的服务。 @param pipeCtx
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/Pipe.java:42
↓ 7 callersMethoderror
(String message, Object... args)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Debug.java:58
↓ 7 callersMethodgetAndIncrement
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/example/memoryleak/Counter.java:19
↓ 7 callersMethodgetInstance
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/AlarmMgr.java:39
↓ 7 callersMethodinterrupt
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch5/tpt/AbstractTerminatableThread.java:104
↓ 6 callersMethodsendAlarm
发送告警 @param type 告警类型 @param id 告警编号 @param extraInfo 告警参数 @return 由type+id+extraInfo唯一确定的告警信息被提交的次数。-1表示告警管理器已被关闭。
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/AlarmMgr.java:54
↓ 5 callersMethodgetWorkingDir
(String subDir)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Tools.java:213
↓ 5 callersMethodremove
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/ManagedThreadLocal.java:64
↓ 5 callersMethodset
(T value)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/ManagedThreadLocal.java:57
↓ 5 callersMethodwrite
(Record[] records, int targetFileIndex)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/RecordWriter.java:68
↓ 4 callersMethodexecute
(Runnable command)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch6/promise/example/FTPUploaderPromisor.java:15
↓ 4 callersMethodnext
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/RecordSource.java:11
↓ 4 callersMethodparse
(String timeStamp, String format)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/example/ThreadSpecificDateFormat.java:33
↓ 4 callersMethodsplit
(String str, String[] result, char delimeter)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Tools.java:128
↓ 3 callersMethodaddAsThreadPoolBasedPipe
( Pipe<INPUT, OUTPUT> delegate, ExecutorService executorSerivce)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/SimplePipeline.java:83
↓ 3 callersMethodaddAsWorkerThreadBasedPipe
( Pipe<INPUT, OUTPUT> delegate, int workerCount)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/SimplePipeline.java:77
↓ 3 callersMethodcall
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch4/gs/example/NestedMonitorLockoutExample.java:80
↓ 3 callersMethoddownloadFile
(String file)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch11/stc/example/MessageFileDownloader.java:50
↓ 3 callersMethodgenInternalDelay
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/AbstractRequestFactory.java:71
↓ 3 callersMethodgenResponseDelay
(String externalDevice)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/AbstractRequestFactory.java:67
↓ 3 callersMethodgetExtraInfo
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/AlarmInfo.java:37
↓ 3 callersMethodgetId
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/AlarmInfo.java:29
↓ 3 callersMethodgetOperationTime
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:71
↓ 3 callersMethodgetUTCTimeStamp
(long timeStamp, String format)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Tools.java:272
↓ 3 callersMethodhasNext
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/RecordSource.java:9
↓ 3 callersMethodisToShutdown
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch5/tpt/TerminationToken.java:43
↓ 3 callersMethodnextRequestTimestamp
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/AbstractRequestFactory.java:52
↓ 3 callersMethodrun
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/Client.java:46
↓ 3 callersMethodsendVerificationSms
生成并下发验证码短信到指定的手机号码。 @param msisdn 短信接收方号码。
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch10/tss/example/SmsVerficationCodeSender.java:60
↓ 3 callersMethodsetContentType
(String contentType)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/Attachment.java:28
↓ 3 callersMethodsetNextPipe
设置当前Pipe实例的下一个Pipe实例。 @param nextPipe 下一个Pipe实例
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/Pipe.java:35
↓ 3 callersMethodstore
(MMSDeliverRequest request)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/RequestPersistence.java:20
↓ 2 callersMethodaddPipe
(Pipe<?, ?> pipe)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/SimplePipeline.java:70
↓ 2 callersMethodcallWithGuard
在保护条件成立时执行目标动作,否则阻塞当前线程,直到保护条件成立。 @param guardedAction 带保护条件的目标动作 @return @throws Exception
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch4/gs/Blocker.java:28
↓ 2 callersMethoddispatch
根据指定的原始任务分解策略,将分解得来的各个子任务派发给一组Slave参与者实例。 @param slaves 可以接受子任务的一组Slave参与者实例 @param taskDivideStrategy 原始任务分解策略 @return iterato
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/SubTaskDispatchStrategy.java:42
↓ 2 callersMethoddoProcess
留给子类实现。用于实现子任务的处理逻辑。 @param task 子任务 @return 子任务的处理结果 @throws Exception
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/WorkerThreadSlave.java:90
↓ 2 callersMethoddoSomething
(String message, int sequence)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/SampleAsyncTask.java:63
↓ 2 callersMethodgetConnection
(Properties props)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/DbRecordSource.java:65
↓ 2 callersMethodgetId
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:39
↓ 2 callersMethodgetInstance
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/AsyncRequestPersistence.java:89
↓ 2 callersMethodgetInterfaceName
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/SimulatedRequest.java:18
↓ 2 callersMethodgetRecipient
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/MMSDeliverRequest.java:77
↓ 2 callersMethodhandleError
用于对处理阶段抛出的异常进行处理. @param exp
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/PipeContext.java:28
↓ 2 callersMethodinit
初始化Slave实例提供的服务
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/SlaveSpec.java:42
↓ 2 callersMethodinit
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch5/tpt/example/SomeService.java:65
↓ 2 callersMethodinit
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/AlarmMgr.java:68
↓ 2 callersMethodinvoke
(final Object proxy, final Method method, final Object[] args)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/ActiveObjectProxy.java:71
↓ 2 callersMethodloadProperties
(String resourcePath)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Tools.java:282
↓ 2 callersMethodmakeNewSectionDir
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/DiskbasedRequestPersistence.java:140
↓ 2 callersMethodmakeReaderFrom
(final Set<String> logFileNames)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/TPSStat.java:162
↓ 2 callersMethodnewDefaultPipelineContext
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/SimplePipeline.java:131
↓ 2 callersMethodnewFTPUploaderPromise
(String ftpServer, String ftpUserName, String password, String serverDir)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch6/promise/example/FTPUploaderPromisor.java:12
↓ 2 callersMethodnewInstance
(final String ftpServer, final String userName, final String password)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/FTPClientUtil.java:67
↓ 2 callersMethodonExecutionError
(Exception e)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/AsyncTask.java:95
↓ 2 callersMethodprintf
(Label label, String format, Object... args)
JavaConcurrencyPatternInAction/src/io/github/viscent/util/Debug.java:62
↓ 2 callersMethodretrieveLogFileName
(long timeStamp)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/Logger.java:103
↓ 2 callersMethodsetDueDate
(Date dueDate)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:121
↓ 2 callersMethodsetEffectiveDate
(Date effectiveDate)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:113
↓ 2 callersMethodsetId
(int id)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:43
↓ 2 callersMethodsetMsisdn
(String msisdn)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:67
↓ 2 callersMethodsetOperationTime
(Date operationTime)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:75
↓ 2 callersMethodsetOperationType
(int operationType)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:83
↓ 2 callersMethodsetPackageId
(String packageId)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:59
↓ 2 callersMethodsetProductId
(String productId)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/Record.java:51
↓ 2 callersMethodshutdown
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch5/tpt/example/SomeService.java:59
↓ 2 callersMethodsignal
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch4/gs/Blocker.java:38
↓ 2 callersMethodsignalAfter
执行stateOperation所指定的操作后,决定是否唤醒本Blocker所暂挂的所有线程中的一个线程。 @param stateOperation 更改状态的操作,其call方法的返回值为true时,该方法才会唤醒被暂挂的线程
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch4/gs/Blocker.java:36
↓ 2 callersMethodsubmitWorkload
(BufferedReader taskWorkload)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/TPSStat.java:213
↓ 2 callersMethodtoString
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch14/hsha/example/AlarmInfo.java:45
↓ 2 callersMethodupload
(File file)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch6/promise/example/FTPUploader.java:9
↓ 1 callersMethodaddTo
(String msisdn)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/Recipient.java:25
↓ 1 callersMethodapply4Filename
(MMSDeliverRequest request)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/DiskbasedRequestPersistence.java:73
↓ 1 callersMethodbackupFile
(final File file)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/RecordWriter.java:166
↓ 1 callersMethodbuildPipeline
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/DataSyncTask.java:78
↓ 1 callersMethodbuildTasks
留给子类实现。用于根据指定的输入元素input构造一组子任务。 @param input 输入元素 @param <V> 子任务的处理结果类型 @return 一组子任务
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/AbstractParallelPipe.java:55
↓ 1 callersMethodcalculate
( BufferedReader fileNamesReader)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/TPSStat.java:96
↓ 1 callersMethodcall
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/WorkerThreadSlave.java:45
↓ 1 callersMethodcombineResults
留给子类实现。用于合并子任务的处理结果。 @param subResults 各个子任务处理结果 @return 原始任务的处理结果
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/AbstractMaster.java:112
↓ 1 callersMethodcombineResults
留给子类实现。对各个子任务的处理结果进行合并,形成相应输入元素的输出结果。 @param subTaskResults 子任务处理结果列表 @return 相应输入元素的处理结果 @throws Exception
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/AbstractParallelPipe.java:65
↓ 1 callersMethodconvertShortNumber
(Recipient shortNumberRecipient)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch8/activeobject/example/MMSDeliveryServlet.java:65
↓ 1 callersMethodcreateAndStartWorkers
( ConcurrentMap<String, AtomicInteger> repository)
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/TPSStat.java:112
↓ 1 callersMethodcreateDefaultConf
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch12/ms/example/testdatagen/TestingDataGen.java:55
↓ 1 callersMethodcreateFileBackupStage
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/DataSyncTask.java:219
↓ 1 callersMethodcreateFileSaveStage
()
JavaConcurrencyPatternInAction/src/io/github/viscent/mtpattern/ch13/pipeline/example/DataSyncTask.java:110
next →1–100 of 527, ranked by callers