MCPcopy Index your code

hub / github.com/hazelcast/hazelcast / functions

Functions147,315 in github.com/hazelcast/hazelcast

↓ 49,255 callersMethodassertTrue
Asserts that the given condition is {@code true}. If not, an {@link AssertionError} is thrown with the given message.
hazelcast/src/main/java/com/hazelcast/jet/core/test/JetAssert.java:36
↓ 45,248 callersMethodget
Returns the backup value for the given key. @param key key of the backup entry to get @return backup value or {@code null}
hazelcast/src/test/java/com/hazelcast/test/backup/BackupAccessor.java:46
↓ 43,927 callersMethodisEqual
{@code Serializable} variant of @param <T> the type of the input to the predicate {@link Predicate#isEqual(Object) java.util.function.Predicate#isEqua
hazelcast/src/main/java/com/hazelcast/function/PredicateEx.java:77
↓ 17,561 callersMethodassertEquals
Asserts that the two given objects are equal, when compared using {@link Object#equals(Object)}. If they are not equal, an {@link AssertionError} is t
hazelcast/src/main/java/com/hazelcast/jet/core/test/JetAssert.java:67
↓ 4,255 callersMethodput
(K key, V value)
hazelcast/src/test/java/com/hazelcast/journal/EventJournalDataStructureAdapter.java:31
↓ 4,186 callersMethodadd
Adds the given entry to this result. @param entry the entry to add.
hazelcast/src/main/java/com/hazelcast/map/impl/query/Result.java:70
↓ 3,570 callersMethodassertThat
Creates new assertions object for given job.
hazelcast/src/test/java/com/hazelcast/jet/core/JobAssertions.java:58
↓ 3,073 callersMethodassertFalse
Asserts that the given condition is {@code false}. If not, an {@link AssertionError} is thrown with the given message.
hazelcast/src/main/java/com/hazelcast/jet/core/test/JetAssert.java:46
↓ 2,829 callersMethodsize
Number of existing backup entries in a given structure and replica index. @return number of backup entries
hazelcast/src/test/java/com/hazelcast/test/backup/BackupAccessor.java:38
↓ 2,679 callersMethodgetName
Returns the name of this job or {@code null} if no name was supplied. <p> Jobs can be named through {@link JobConfig#setName(String)} prior to submiss
hazelcast/src/main/java/com/hazelcast/jet/Job.java:145
↓ 2,335 callersMethodasList
Returns a read-only list representation of this queue. @return read-only list representation of this queue.
hazelcast/src/main/java/com/hazelcast/map/impl/mapstore/writebehind/WriteBehindQueue.java:98
↓ 2,308 callersMethodgetClass
(Object arg)
hazelcast/src/test/java/com/hazelcast/test/starter/ReflectionUtils.java:109
↓ 2,196 callersMethodappend
Returns a traverser that will return all the items of this traverser, plus an additional item once this one returns {@code null}. After that it contin
hazelcast/src/main/java/com/hazelcast/jet/Traverser.java:166
↓ 1,876 callersMethodof
Utility method for building an {@link Observer} from its basic callback components.
hazelcast/src/main/java/com/hazelcast/jet/function/Observer.java:45
↓ 1,811 callersMethodencodeInt
(byte[] buffer, int pos, int value)
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/codec/builtin/FixedSizeTypesCodec.java:60
↓ 1,799 callersMethodexecute
Convenient method to execute a distributed query with the given parameter values. <p> Converts passed SQL string and parameter values into an {@link S
hazelcast/src/main/java/com/hazelcast/sql/SqlService.java:79
↓ 1,790 callersMethodtoString
()
hazelcast/src/main/java/com/hazelcast/map/impl/eviction/Evictor.java:49
↓ 1,715 callersMethodassertTrueEventually
(String message, AssertTask task, long timeoutSeconds)
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:1197
↓ 1,599 callersMethodput
{@inheritDoc} <p> <b>Warning 1:</b> <p> This method returns a clone of the previous value, not the original (identically equal) value previously put i
hazelcast/src/main/java/com/hazelcast/map/IMap.java:362
↓ 1,593 callersMethodnewHazelcastInstance
Creates a new {@link HazelcastOSGiInstance} on the owner bundle with specified configuration. @param config Configuration for the new {@link Hazelcas
hazelcast/src/main/java/com/hazelcast/osgi/HazelcastOSGiService.java:78
↓ 1,453 callersMethodgetMap
Returns a proxy for a {@link CPMap}. <b>Enterprise Only</b>. <p> If no group name is given within the {@code name} parameter, then the {@link
hazelcast/src/main/java/com/hazelcast/cp/CPSubsystem.java:636
↓ 1,409 callersMethodrandomString
()
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:524
↓ 1,368 callersMethodbuild
Builds the {@link AuditableEvent} instance. If the timestamp is not configured explicitly, then the call sets event timestamp too. @return not-{@code
hazelcast/src/main/java/com/hazelcast/auditlog/EventBuilder.java:79
↓ 1,357 callersMethodhashCode
(GenericRecord record, String fieldName)
hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/FieldKindBasedOperations.java:46
↓ 1,313 callersMethodgetMap
Creates or returns the distributed map instance with the specified name. @param name name of the distributed map @param <K> key type @param <V> value
hazelcast/src/main/java/com/hazelcast/core/HazelcastInstance.java:129
↓ 1,309 callersMethodvalues
Returns an immutable collection clone of the values contained in this map. <p> <b>Warning:</b> <p> The collection is <b>NOT</b> backed by the map, so
hazelcast/src/main/java/com/hazelcast/map/IMap.java:2468
↓ 1,284 callersMethodcheckNotNull
(T argument, String errorMessage)
hazelcast/src/main/java/com/hazelcast/internal/util/Preconditions.java:54
↓ 1,245 callersMethodstream
Returns a stream of result rows. <p>It uses internally {@link #iterator()} method, so it cannot be called twice.</p> <p>You should still call {@link
hazelcast/src/main/java/com/hazelcast/sql/SqlResult.java:103
↓ 1,223 callersMethodgetValue
Returns the value of the entry. @return the value of the entry
hazelcast/src/main/java/com/hazelcast/core/EntryView.java:43
↓ 1,190 callersMethodisEmpty
Returns <code>true</code> if this map contains no entries. @return <code>true</code> if this map contains no entries.
hazelcast/src/main/java/com/hazelcast/map/BaseMap.java:190
↓ 1,184 callersMethodtimestampTz
(long epochMillis)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlTestSupport.java:766
↓ 1,130 callersMethodnewHazelcastInstance
Equivalent to {@link #newHazelcastInstance(Config) newHazelcastInstance(null)}.
hazelcast/src/test/java/com/hazelcast/test/TestHazelcastInstanceFactory.java:153
↓ 1,095 callersMethodnext
Returns the next member to route to. @return Returns the next member or null if no member is available
hazelcast/src/main/java/com/hazelcast/client/LoadBalancer.java:48
↓ 1,069 callersMethodformat
Returns the name of the file format. The convention is to use the well-known filename suffix or, if there is none, a short-form name of the format.
hazelcast/src/main/java/com/hazelcast/jet/pipeline/file/FileFormat.java:41
↓ 1,034 callersMethodsetProperty
()
hazelcast/src/test/java/com/hazelcast/config/MapStoreConfigTest.java:161
↓ 1,023 callersMethodadd
(Frame frame)
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/ClientMessage.java:176
↓ 1,016 callersMethodcreateForEncode
()
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/ClientMessage.java:160
↓ 970 callersMethodget
()
hazelcast-sql/src/main/java/com/hazelcast/sql/impl/extract/QueryExtractor.java:20
↓ 958 callersMethodframeIterator
()
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/ClientMessage.java:189
↓ 951 callersMethodisInstanceOf
(Object arg, Class<?> clazz)
hazelcast/src/test/java/com/hazelcast/test/starter/ReflectionUtils.java:122
↓ 950 callersMethodcreateHazelcastInstanceFactory
(int nodeCount)
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:270
↓ 924 callersMethodinstance
()
hazelcast-sql/src/test/java/com/hazelcast/dataconnection/impl/DataConnectionConsistencyCheckerTest.java:174
↓ 897 callersMethodgetJet
Returns a Jet service to execute distributed batch and streaming jobs. @see JetService
hazelcast/src/main/java/com/hazelcast/core/HazelcastInstance.java:483
↓ 892 callersMethodsize
Total entry count. If the cache contains more than <code>Integer.MAX_VALUE</code> elements, returns <code>Integer.MAX_VALUE</code>. @return total ent
hazelcast/src/main/java/com/hazelcast/cache/ICache.java:902
↓ 871 callersMethodcollect
Collects the content of the MetricsRegistry. @param collector the collector that consumes the metrics collected @throws NullPointerException if colle
hazelcast/src/main/java/com/hazelcast/internal/metrics/MetricsRegistry.java:298
↓ 857 callersMethodgetConfig
Returns the configuration this job was submitted with. Changes made to the returned config object will not have any effect.
hazelcast/src/main/java/com/hazelcast/jet/Job.java:198
↓ 857 callersMethodtoData
Serializes an object to a {@link Data}. <p> This method can safely be called with a {@link Data} instance. In that case, that instance is returned. <p
hazelcast/src/main/java/com/hazelcast/spi/impl/NodeEngine.java:221
↓ 856 callersMethodcontains
Checks if the reference contains the value. @param value the value to check (is allowed to be {@code null}) @return {@code true} if the value is foun
hazelcast/src/main/java/com/hazelcast/cp/IAtomicReference.java:120
↓ 849 callersMethodputAndCheckValue
( Object value, String sql, SqlColumnType expectedType, Object
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/ExpressionTestSupport.java:118
↓ 847 callersMethodmatches
Returns the best match for an item name out of a list of configuration patterns. @param configPatterns list of known configuration patterns @param
hazelcast/src/main/java/com/hazelcast/config/ConfigPatternMatcher.java:42
↓ 840 callersMethodcountDown
Decrements the count of the latch, releasing all waiting threads if the count reaches zero. <p> If the current count is greater than zero, then it is
hazelcast/src/main/java/com/hazelcast/cp/ICountDownLatch.java:116
↓ 839 callersMethodsql
(Object operand1, Object operand2)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/math/ModFunctionIntegrationTest.java:35
↓ 833 callersMethodhandle
(E event)
hazelcast/src/main/java/com/hazelcast/client/impl/spi/EventHandler.java:28
↓ 829 callersMethodjoin
Waits for the job to complete and throws an exception if the job completes with an error. Never returns for streaming (unbounded) jobs, unless they fa
hazelcast/src/main/java/com/hazelcast/jet/Job.java:86
↓ 823 callersMethodinfo
Logs a message at the {@link Level#INFO} level. @param message the message to log
hazelcast-tpc-engine/src/main/java/com/hazelcast/internal/tpcengine/logging/TpcLogger.java:89
↓ 816 callersMethodwhen
(BiConsumerEx<Job, JobStatusLogger> test)
hazelcast/src/test/java/com/hazelcast/jet/JobStatusListenerTest.java:383
↓ 801 callersMethodrow
(Object... values)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlTestSupport.java:787
↓ 788 callersMethodsql
(String source, SqlColumnType targetType)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/misc/CastFunctionIntegrationTest.java:1219
↓ 786 callersMethodhasNext
Checks if a next item is available, with a timeout. <p> The implementation is allowed to block until an item is available and never actually return TI
hazelcast/src/main/java/com/hazelcast/sql/impl/ResultIterator.java:39
↓ 784 callersMethodget
(K key)
hazelcast/src/test/java/com/hazelcast/journal/EventJournalDataStructureAdapter.java:49
↓ 767 callersMethodremove
(K key)
hazelcast/src/test/java/com/hazelcast/journal/EventJournalDataStructureAdapter.java:45
↓ 758 callersMethodcreateHazelcastInstance
()
hazelcast/src/test/java/com/hazelcast/jet/core/JetTestSupport.java:189
↓ 756 callersMethodset
Puts an entry into this map without returning the old value (which is more efficient than {@code put()}). <p> <b>Warning 1:</b> <p> This method breaks
hazelcast/src/main/java/com/hazelcast/map/IMap.java:1749
↓ 756 callersMethodsetEnabled
()
hazelcast/src/test/java/com/hazelcast/config/MapStoreConfigTest.java:129
↓ 756 callersMethodwriteTo
Attaches the supplied sink to two or more pipeline stages. Returns the {@code SinkStage} representing the sink. You need this method when you want to
hazelcast/src/main/java/com/hazelcast/jet/pipeline/Pipeline.java:116
↓ 738 callersMethodputAndCheckFailure
( Object value, String sql, int expectedErrorCode, String expe
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/ExpressionTestSupport.java:197
↓ 736 callersMethodvalueOf
(Integer key)
hazelcast/src/test/java/com/hazelcast/client/cache/ClientCacheReadWriteThroughTest.java:160
↓ 715 callersMethodmap
Returns a traverser that will emit the results of applying {@code mapFn} to this traverser's items. If {@code mapFn} returns {@code null} for an item,
hazelcast/src/main/java/com/hazelcast/jet/Traverser.java:63
↓ 705 callersMethodnewJob
Creates and returns a Jet job based on the supplied DAG. Jet will asynchronously start executing the job.
hazelcast/src/main/java/com/hazelcast/jet/JetService.java:54
↓ 691 callersMethodwarning
Logs a message at the {@link Level#WARNING} level. @param message the message to log
hazelcast-tpc-engine/src/main/java/com/hazelcast/internal/tpcengine/logging/TpcLogger.java:119
↓ 683 callersMethodadd
Aggregates the hash in the HyperLogLog registers. @param hash the value to aggregate
hazelcast/src/main/java/com/hazelcast/cardinality/impl/hyperloglog/HyperLogLog.java:48
↓ 672 callersMethodnext
()
hazelcast/src/test/java/com/hazelcast/client/impl/protocol/codec/builtin/SqlPageCodecTest.java:259
↓ 641 callersMethodaddAll
Batch aggregation of hash values in the HyperLogLog registers. @param hashes the hash values array to aggregate
hazelcast/src/main/java/com/hazelcast/cardinality/impl/hyperloglog/HyperLogLog.java:55
↓ 640 callersMethodparameterError
(int position, SqlColumnType expectedType, SqlColumnType actualType)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/ExpressionTestSupport.java:250
↓ 632 callersMethodisEqualTo
()
hazelcast/src/test/java/com/hazelcast/version/VersionTest.java:50
↓ 618 callersMethodwriteInt
Writes a primitive int. @param fieldName name of the field @param value int value to be written @throws IOException in case of any exceptional ca
hazelcast/src/main/java/com/hazelcast/nio/serialization/PortableWriter.java:47
↓ 614 callersMethodwriteObject
@param object object to be written @throws IOException in case of any exceptional case
hazelcast/src/main/java/com/hazelcast/nio/ObjectDataOutput.java:108
↓ 609 callersMethodwriteString
@param string string to be written @throws IOException in case of any exceptional case
hazelcast/src/main/java/com/hazelcast/nio/ObjectDataOutput.java:40
↓ 606 callersMethodreadString
@return the string read @throws IOException if it reaches end of file before finish reading
hazelcast/src/main/java/com/hazelcast/nio/ObjectDataInput.java:41
↓ 605 callersMethodisEqualTo
@param version other version to compare to @return {@code true} if this version equals {@code version}
hazelcast/src/main/java/com/hazelcast/version/Version.java:165
↓ 598 callersMethoditerator
Returns an iterator over the entries of the map. It sequentially iterates partitions. It starts to iterate on partition 0, and it finishes the iterati
hazelcast/src/main/java/com/hazelcast/map/IMap.java:3380
↓ 596 callersMethodreadObject
@param <T> type of the object to be read @return object array read @throws IOException if it reaches end of file before finish reading
hazelcast/src/main/java/com/hazelcast/nio/ObjectDataInput.java:121
↓ 595 callersMethodprintln
(Object obj)
hazelcast/src/main/java/com/hazelcast/console/ConsoleApp.java:1511
↓ 591 callersMethodput
Associates {@code key} with {@code value}. <p> See {@link CPMap#set(Object, Object)} for a more optimal solution when the previous value of @{code
hazelcast/src/main/java/com/hazelcast/cp/CPMap.java:45
↓ 588 callersMethodgetService
Gets the service with the given name. @param serviceName the name of the service @param <T> the type of the service @return the found service
hazelcast/src/main/java/com/hazelcast/spi/impl/NodeEngine.java:279
↓ 579 callersMethodrandomMapName
()
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:528
↓ 575 callersMethodreadFrom
Returns a pipeline stage that represents a bounded (batch) data source. It has no upstream stages and emits the data (typically coming from an outside
hazelcast/src/main/java/com/hazelcast/jet/pipeline/Pipeline.java:94
↓ 573 callersMethodincrementAndGet
Atomically increments the current value by one. @return the updated value, the current value incremented by one
hazelcast/src/main/java/com/hazelcast/cp/IAtomicLong.java:136
↓ 568 callersMethodassertSame
Asserts that the two given objects are the same, when compared using the {@code ==} operator and if not, an {@link AssertionError} is thrown with the
hazelcast/src/main/java/com/hazelcast/jet/core/test/JetAssert.java:55
↓ 568 callersMethodfail
()
hazelcast/src/test/java/com/hazelcast/test/ClusterFailureTestSupport.java:145
↓ 564 callersMethodassertRowsAnyOrder
Assert the contents of a given table via Hazelcast SQL engine
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlTestSupport.java:189
↓ 562 callersMethodreadInt
@param fieldName name of the field @return the int value read @throws IOException in case of any exceptional case
hazelcast/src/main/java/com/hazelcast/nio/serialization/PortableReader.java:77
↓ 562 callersMethodstart
See {@link #newJob(Pipeline, JobConfig)} for details. @see #startIfAbsent()
hazelcast/src/main/java/com/hazelcast/jet/JetService.java:353
↓ 544 callersMethodkeySet
Returns an immutable set clone of the keys contained in this map. <p> <b>Warning:</b> <p> The set is <b>NOT</b> backed by the map, so changes to the m
hazelcast/src/main/java/com/hazelcast/map/IMap.java:2439
↓ 543 callersMethodgetNodeEngine
()
hazelcast/src/main/java/com/hazelcast/cache/impl/ICacheService.java:107
↓ 542 callersMethodgetNetworkConfig
Returns the network configuration for this hazelcast instance. The network configuration defines how a member will interact with other members or clie
hazelcast/src/main/java/com/hazelcast/config/Config.java:707
↓ 535 callersMethodfine
Logs to {@link #fine(String)} using a lazily evaluated {@code template} {@link String} with arguments, formatted using {@link String#format(String, Ob
hazelcast/src/main/java/com/hazelcast/logging/ILogger.java:43
↓ 532 callersMethodgetMapConfig
Returns the MapConfig for the given name, creating one if necessary and adding it to the collection of known configurations. <p> The configuration is
hazelcast/src/main/java/com/hazelcast/config/Config.java:799
↓ 530 callersMethodsetProperty
Sets the value of a named property. @param name property name @param value value of the property @return this config instance @throws IllegalArgumen
hazelcast/src/main/java/com/hazelcast/config/Config.java:596
↓ 527 callersMethodequal
(Comparable value)
hazelcast/src/main/java/com/hazelcast/query/PredicateBuilder.java:49
next →1–100 of 147,315, ranked by callers