docstring stringlengths 3 2.38k | code stringlengths 9 99.4k |
|---|---|
write any remaining log entries from queue to access log file when stop flag has been raised and access log is preparing to stop | ArrayBlockingQueue . poll FileOutputStream . write |
map event data to pooled event | ArrayBlockingQueue . poll System . currentTimeMillis ArrayBlockingQueue . put |
process a stanza packet to see if it meets the criteria for this stanza packet collector | ArrayBlockingQueue . poll System . currentTimeMillis |
<unk> a message to this actor | ArrayBlockingQueue . put ExecutorService . execute |
put a new file stats object onto the end of the array blocking queue | ArrayBlockingQueue . put JOptionPane . showMessageDialog |
do not use this outside class as public member unless explicitly needed | ArrayBlockingQueue . put Semaphore . release |
send specified binary packet using underlying tcp connection | ArrayBlockingQueue . put Thread . currentThread |
remain capacity decreases on add , increases on remove | ArrayBlockingQueue . remainingCapacity ArrayBlockingQueue . size ArrayBlockingQueue . remove ArrayBlockingQueue . remainingCapacity Integer . <init> ArrayBlockingQueue . add |
create and stores a job in the queue based on the provided description | ArrayBlockingQueue . remainingCapacity UUID . randomUUID ArrayBlockingQueue . add |
check if a tag is correct and if it isnt adds it to the array using lru | ArrayBlockingQueue . remove ArrayBlockingQueue . offer ArrayBlockingQueue . size ArrayBlockingQueue . add ArrayBlockingQueue . remove ArrayBlockingQueue . add |
copy the input <unk> queue to a new <unk> , while leaving the input queue in the same state it was passed in | ArrayBlockingQueue . size ArrayBlockingQueue . <init> ArrayBlockingQueue . poll ArrayBlockingQueue . add |
set the result of this <unk> | ArrayBlockingQueue . size ArrayBlockingQueue . offer AtomicReference < <unk> > . get <unk> . complete |
discard a page from the buffer pool | ArrayBlockingQueue . size ArrayBlockingQueue . poll ArrayBlockingQueue . add |
queue a specific rtp packet to be sent through the datagram socket of this output data stream | ArrayBlockingQueue . size ArrayBlockingQueue . poll ArrayBlockingQueue . offer ArrayBlockingQueue . put |
update any observers | ArrayBlockingQueue . size ArrayBlockingQueue . poll ArrayList . size ArrayBlockingQueue . put |
method used to send a message to the message <unk> | ArrayBlockingQueue . size ArrayBlockingQueue . put Object . notify |
return a snapshot of this queues items | ArrayBlockingQueue . size ArrayBlockingQueue . toArray |
return a list of past plug in events and errors that have been collected for the plug in | ArrayBlockingQueue . size ArrayList . <init> ArrayBlockingQueue . toArray Collections . addAll |
execute a simple query | ArrayBlockingQueue . take ArrayBlockingQueue . add |
this method does exactly the same as the method of the same name of the parent class , plus adding the number to a queue | ArrayBlockingQueue . take ArrayBlockingQueue . put |
a getter for the link layer return the first byte array in the received array blocking queue and removes it from the front | ArrayBlockingQueue . take AtomicInteger . set |
get the data from the array blocking queue | ArrayBlockingQueue . take AtomicInteger . set |
process a single event | ArrayBlockingQueue . take Event . <unk> |
retrieve events from the queue and process | ArrayBlockingQueue . take ExecutorService . execute |
take a file stats object from the front of the array blocking queue | ArrayBlockingQueue . take JOptionPane . showMessageDialog |
initialize the connection and starts to log | ArrayBlockingQueue . take OutputStream . write OutputStream . flush |
send the rtp packets in packet queue in accord with max packets and per nanos | ArrayBlockingQueue . take System . nanoTime LockSupport . parkNanos ArrayBlockingQueue . clear Thread . currentThread |
send the rtp packets in packet queue in accord with max packets and per nanos | ArrayBlockingQueue . take System . nanoTime LockSupport . parkNanos ArrayBlockingQueue . clear |
get the | ArrayBlockingQueue . toString ClassPath . getFile |
tell if self precedes the other in the canonical ordering | ArrayBlockingQueue . toString String . compareTo ClassDefinition . getName String . compareTo ArrayBlockingQueue . toString String . compareTo |
to string contains to strings of elements | ArrayBlockingQueue . toString String . valueOf String . contains |
return a string consisting of this methods name followed by its method descriptor , using the java v ms notation for method descriptors see section 4 | ArrayBlockingQueue . toString Type . <unk> |
init the | ArrayBlockingQueue < > . <init> Executors . <unk> AtomicInteger . incrementAndGet Runnable . <init> ScheduledExecutorService . scheduleAtFixedRate |
init the | ArrayBlockingQueue < > . <init> Executors . newFixedThreadPool AtomicInteger . incrementAndGet Runnable . <init> ExecutorService . execute |
init the | ArrayBlockingQueue < > . <init> ThreadFactory . <init> Executors . <unk> AtomicInteger . incrementAndGet Runnable . <init> ScheduledExecutorService . scheduleAtFixedRate |
init the | ArrayBlockingQueue < > . <init> ThreadFactory . <init> Executors . newFixedThreadPool AtomicInteger . incrementAndGet Runnable . <init> ExecutorService . execute |
initialize the input pool | ArrayBlockingQueue < <unk> > . <init> <unk> . <init> ArrayBlockingQueue < <unk> > . add |
a function that converts array blocking queues to lists | ArrayBlockingQueue < A > . toArray A [] . cast ArrayBlockingQueue < A > . size |
a function that converts array blocking queues to lists | ArrayBlockingQueue < A > . toArray ArrayBlockingQueue < A > . size A [] . cast |
when you need to create a scheduler which has jobs dependent on multiple jobs , then creation of a common successor group has to be done | ArrayBlockingQueue < Boolean > . <init> ConcurrentHashMap < String , Integer > . size ConcurrentHashMap < String , Integer > . putIfAbsent |
this immediately exits the <unk> period if currently in the <unk> period and ensures the thread this runnable is running in dies | ArrayBlockingQueue < Boolean > . peek ArrayBlockingQueue < Boolean > . put CountDownLatch . <init> LinkedBlockingQueue < CountDownLatch > . put Thread . currentThread |
this immediately exits the <unk> period if currently in the <unk> period and ensures the thread this runnable is running in dies | ArrayBlockingQueue < Boolean > . peek ArrayBlockingQueue < Boolean > . put LinkedBlockingQueue < CountDownLatch > . put |
this immediately exits the <unk> period if currently in the <unk> period and ensures the thread this runnable is running in dies | ArrayBlockingQueue < Boolean > . put CountDownLatch . <init> LinkedBlockingQueue < CountDownLatch > . put Thread . currentThread |
this immediately exits the <unk> period if currently in the <unk> period and ensures the thread this runnable is running in dies | ArrayBlockingQueue < Boolean > . put CountDownLatch . <init> LinkedBlockingQueue < CountDownLatch > . put |
initialize the queues | ArrayBlockingQueue < ByteBuffer > . <init> ArrayBlockingQueue < ByteBuffer > . add AtomicReference < ByteBuffer > . set |
initialize variables in object scope , sets count known to false to read byte count <unk> 0 | ArrayBlockingQueue < ByteBuffer > . <init> ByteBuffer . allocateDirect ByteBuffer . limit SocketChannel . configureBlocking |
create a new <unk> pipe tuple iter object | ArrayBlockingQueue < ByteBuffer > . <init> ByteBuffer . wrap ByteOrder . nativeOrder ByteBuffer . order ByteBuffer . clear ArrayBlockingQueue < ByteBuffer > . offer ArrayBlockingQueue < ByteBuffer > . <init> ByteBuffer . wrap ByteBuffer . order ByteBuffer . clear ByteBuffer . limit |
get a queue with all the cells on a line | ArrayBlockingQueue < Cell > . <init> ArrayBlockingQueue < Cell > . add |
get a queue with all the empty cells on a column | ArrayBlockingQueue < Cell > . <init> ArrayBlockingQueue < Cell > . add |
get a queue with all the empty cells on the same column as a cell | ArrayBlockingQueue < Cell > . <init> ArrayBlockingQueue < Cell > . add |
get a queue with all the empty cells on the same line as a cell | ArrayBlockingQueue < Cell > . <init> ArrayBlockingQueue < Cell > . add |
return a queue containing all the empty cells in the board row first | ArrayBlockingQueue < Cell > . <init> ArrayBlockingQueue < Cell > . add |
eliminate <unk> for every empty cell based on the occupied cells that are sudoku neighbours | ArrayBlockingQueue < Cell > . isEmpty ArrayBlockingQueue < Cell > . poll Cell . <unk> Cell . <unk> |
check and <unk> <unk> triples to <unk> <unk> | ArrayBlockingQueue < Cell > . isEmpty ArrayBlockingQueue < Cell > . poll Cell . getCounter Cell . <unk> ArrayBlockingQueue < Cell > . poll Cell . getCounter Cell . <unk> Cell . getCounter ArrayBlockingQueue < Cell > . isEmpty ArrayBlockingQueue < Cell > . poll Cell . <unk> Cell . getCounter Cell . <unk> Cell . <unk> Cell . getCounter Cell . <unk> Cell . <unk> Cell . <unk> |
implementation of the <unk> pair algorithm | ArrayBlockingQueue < Cell > . isEmpty ArrayBlockingQueue < Cell > . poll Cell . getCounter Cell . <unk> Cell . <unk> Cell . <unk> Cell . <unk> ArrayBlockingQueue < Cell > . isEmpty ArrayBlockingQueue < Cell > . poll Arrays . equals Cell . <unk> ArrayBlockingQueue < Cell > . isEmpty ArrayBlockingQueue < Cell > . poll Cell . <unk> Cell . <unk> Cell . <unk> Cell . <unk> Cell . <unk> Cell . <unk> |
get the history | ArrayBlockingQueue < Color > . size ArrayBlockingQueue < Color > . toArray Arrays . asList Collections . unmodifiableList |
get the history | ArrayBlockingQueue < Color > . toArray Arrays . asList Collections . unmodifiableList |
put connection back into connection pool | ArrayBlockingQueue < Connection > . offer Connection . close |
this is a synchronized call to get a standard connection , and by using the take method of the <unk> , it will block until a connection is available | ArrayBlockingQueue < Connection > . peek AtomicInteger . get AtomicInteger . getAndIncrement ArrayBlockingQueue < Connection > . take |
perform the dijkstra algorithm on the graph to find minimal weights of paths from a vertex u to other vertices of the graph | ArrayBlockingQueue < Edge > . <init> Edge . <init> Queue < Edge > . add Queue < Edge > . isEmpty Queue < Edge > . remove Edge . <unk> Edge . getV Edge . getWeight Queue < Edge > . add |
search the graph starting at an edge | ArrayBlockingQueue < Edge > . <init> Queue < Edge > . add Queue < Edge > . isEmpty Queue < Edge > . remove Edge . <unk> Edge . getV Queue < Edge > . add |
<unk> eine <unk> <unk> einer <unk> an | ArrayBlockingQueue < Element > . <init> Queue < Element > . size ArrayBlockingQueue < Element > . <init> Queue < Element > . add |
retrieve the current batch as an array and clears the queue | ArrayBlockingQueue < Event > . toArray ArrayBlockingQueue < Event > . clear |
return a new queue of given size containing consecutive integers 0 | ArrayBlockingQueue < Integer > . <init> ArrayBlockingQueue < Integer > . isEmpty Integer . <init> ArrayBlockingQueue < Integer > . offer ArrayBlockingQueue < Integer > . isEmpty ArrayBlockingQueue < Integer > . remainingCapacity |
process event , <unk> up to parallel number of executors , and concurrently take transactions and send to hbase | ArrayBlockingQueue < Integer > . <init> ArrayList < Future < Long > > . <init> Executors . newFixedThreadPool List < Future < Long > > . add List < Future < Long > > . size ExecutorService . submit List < Future < Long > > . add ExecutorService . submit List < Future < Long > > . add List < Future < Long > > . size List < Future < Long > > . iterator Iterator < Future < Long > > . hasNext Iterator < Future < Long > > . next Future < Long > . get Iterator < Future < Long > > . remove ExecutorService . shutdown ExecutorService . shutdownNow |
array blocking queue add to end , remove head , and queue already handles the synchronization | ArrayBlockingQueue < Integer > . <init> System . currentTimeMillis Integer . valueOf ArrayBlockingQueue < Integer > . add ArrayBlockingQueue < Integer > . take Integer . intValue System . currentTimeMillis |
<unk> are managed by underlying engine | ArrayBlockingQueue < Long > . poll ReentrantReadWriteLock . readLock |
set all fields for pre io parsing environment | ArrayBlockingQueue < Message > . <init> AtomicBoolean . <init> CountDownLatch . <init> |
set up a controller for a new client | ArrayBlockingQueue < Message > . <init> LinkedBlockingQueue < Message > . <init> Connection . <init> |
test if both send and receive queues are empty | ArrayBlockingQueue < Message > . isEmpty LinkedBlockingQueue . isEmpty |
loop for now permanently , can make it stop later <unk> taking messages and then handling them | ArrayBlockingQueue < Message > . take MessageHandler . <unk> |
<unk> a breadth first search , <unk> identifying all connected nodes | ArrayBlockingQueue < Node > . <init> HashMap < Integer , Node > . size ArrayList < Node > . <init> ArrayBlockingQueue < Node > . add Node . <unk> ArrayBlockingQueue < Node > . isEmpty ArrayBlockingQueue < Node > . remove ArrayList < Node > . add Node . getEdges Edge . getTarget Node . <unk> Node . <unk> ArrayBlockingQueue < Node > . add ArrayList < Node > . remove Collections . sort ArrayList < Node > . <init> ArrayList < Node > . add |
connect to a m bean server with a timeout this code comes from this blog post : https : <unk> | ArrayBlockingQueue < Object > . <init> Executors . newSingleThreadExecutor ExecutorService . submit JMXConnectorFactory . connect JMXConnector . close BlockingQueue < Object > . offer BlockingQueue < Object > . poll BlockingQueue < Object > . take Connection . initCause ExecutorService . shutdown JMXConnector . instance Throwable . cast |
<unk> jms avec timeout en <unk> | ArrayBlockingQueue < Object > . <init> Executors . newSingleThreadExecutor Runnable . <init> ExecutorService . submit JMXConnectorFactory . connect BlockingQueue < Object > . offer JMXConnector . close BlockingQueue < Object > . offer BlockingQueue < Object > . poll BlockingQueue < Object > . offer BlockingQueue < Object > . take JMX . initCause ExecutorService . shutdown Throwable . cast |
return the next available bucket | ArrayBlockingQueue < Object > . take Entry . cast Entry . get Thread . currentThread |
create new non blocking queue with max size capacity | ArrayBlockingQueue < Object [] > . <init> AtomicBoolean . <init> |
create a new output writer based on a data context , a set <unk> and a buffer size | ArrayBlockingQueue < Object [] > . <init> ConcurrentLinkedQueue < Object [] > . <init> |
create new non blocking queue with max size capacity | ArrayBlockingQueue < Object [] [] > . <init> BlockingQueue < Object [] [] > . offer |
start the traffic | ArrayBlockingQueue < Op > . poll Op . execute ArrayBlockingQueue < Op > . poll |
this method is called in setup method of the operator | ArrayBlockingQueue < Pair < String > > . <init> Set < String > . size Set < String > . contains HashSet . add |
get of element of invoke all c throws exception on failed task | ArrayBlockingQueue < Runnable > . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . iterator Iterator < Future < String > > . next |
time invoke all c returns results of all completed tasks | ArrayBlockingQueue < Runnable > . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator Iterator < Future < String > > . hasNext Iterator < Future < String > > . next |
time invoke all c cancels tasks not completed by timeout | ArrayBlockingQueue < Runnable > . <init> ArrayList < Callable < String > > . <init> List < Callable < String > > . add Executors . callable List < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator Iterator < Future < String > > . next Future < String > . isDone Future < String > . isCancelled |
get completed task count increases , but doesnt <unk> , when tasks complete | ArrayBlockingQueue < Runnable > . <init> CountDownLatch . <init> ThreadPoolExecutor . <unk> ThreadPoolExecutor . execute CountDownLatch . countDown CountDownLatch . await CountDownLatch . countDown ThreadPoolExecutor . <unk> CountDownLatch . countDown CountDownLatch . await System . nanoTime ThreadPoolExecutor . <unk> Thread . yield |
be terminated is false before termination , true after | ArrayBlockingQueue < Runnable > . <init> CountDownLatch . <init> ThreadPoolExecutor . <unk> ThreadPoolExecutor . execute ThreadPoolExecutor . <unk> CountDownLatch . countDown CountDownLatch . await CountDownLatch . countDown ThreadPoolExecutor . shutdown ThreadPoolExecutor . awaitTermination ThreadPoolExecutor . <unk> |
be terminating is not true when running or when terminated | ArrayBlockingQueue < Runnable > . <init> CountDownLatch . <init> ThreadPoolExecutor . <unk> ThreadPoolExecutor . execute ThreadPoolExecutor . <unk> CountDownLatch . countDown CountDownLatch . await ThreadPoolExecutor . <unk> CountDownLatch . countDown ThreadPoolExecutor . shutdown ThreadPoolExecutor . awaitTermination ThreadPoolExecutor . <unk> |
get completed task count increases , but doesnt <unk> , when tasks complete | ArrayBlockingQueue < Runnable > . <init> CountDownLatch . <init> ThreadPoolExecutor . execute CountDownLatch . countDown ThreadPoolExecutor . <unk> CountDownLatch . await CountDownLatch . countDown ThreadPoolExecutor . <unk> CountDownLatch . countDown CountDownLatch . await System . nanoTime ThreadPoolExecutor . <unk> Thread . yield |
get pool size increases , but doesnt <unk> , when threads become active | ArrayBlockingQueue < Runnable > . <init> CountDownLatch . <init> ThreadPoolExecutor . getPoolSize ThreadPoolExecutor . execute CountDownLatch . countDown ThreadPoolExecutor . getPoolSize CountDownLatch . await ThreadPoolExecutor . getPoolSize CountDownLatch . countDown |
get of element of invoke all c throws exception on failed task | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . iterator Iterator < Future < String > > . hasNext Iterator < Future < String > > . next |
get of element of invoke all c throws exception on failed task | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . iterator Iterator < Future < String > > . hasNext |
time invoke all c returns results of all completed tasks | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . iterator Iterator < Future < String > > . next |
time invoke all c returns results of all completed tasks | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size Iterator < Future < String > > . hasNext Iterator < Future < String > > . next |
get of element of invoke all c throws exception on failed task | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator Iterator < Future < String > > . hasNext Iterator < Future < String > > . next |
get of element of invoke all c throws exception on failed task | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator Iterator < Future < String > > . hasNext |
time invoke all c returns results of all completed tasks | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator Iterator < Future < String > > . next |
invoke all c returns results of all completed tasks | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator |
invoke any c returns result of some task | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add ExecutorService . invokeAny |
time invoke all c cancels tasks not completed by timeout | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ArrayList < Callable < String > > . add Executors . callable ArrayList < Callable < String > > . add ExecutorService . invokeAll List < Future < String > > . size List < Future < String > > . iterator Iterator < Future < String > > . next Future < String > . isDone Future < String > . isCancelled |
invoke all empty collection returns empty collection | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> ExecutorService . invokeAll |
invoke all c returns results of all completed tasks | ArrayBlockingQueue < Runnable > . <init> ThreadPoolExecutor . <init> ArrayList < Callable < String > > . <init> List < Callable < String > > . add ExecutorService . invokeAll Future < String > . get |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.