Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/hazelcast/hazelcast
/ functions
Functions
147,315 in github.com/hazelcast/hazelcast
⨍
Functions
147,315
◇
Types & classes
15,944
↓ 49,255 callers
Method
assertTrue
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 callers
Method
get
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 callers
Method
isEqual
{@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 callers
Method
assertEquals
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 callers
Method
put
(K key, V value)
hazelcast/src/test/java/com/hazelcast/journal/EventJournalDataStructureAdapter.java:31
↓ 4,186 callers
Method
add
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 callers
Method
assertThat
Creates new assertions object for given job.
hazelcast/src/test/java/com/hazelcast/jet/core/JobAssertions.java:58
↓ 3,073 callers
Method
assertFalse
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 callers
Method
size
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 callers
Method
getName
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 callers
Method
asList
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 callers
Method
getClass
(Object arg)
hazelcast/src/test/java/com/hazelcast/test/starter/ReflectionUtils.java:109
↓ 2,196 callers
Method
append
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 callers
Method
of
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 callers
Method
encodeInt
(byte[] buffer, int pos, int value)
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/codec/builtin/FixedSizeTypesCodec.java:60
↓ 1,799 callers
Method
execute
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 callers
Method
toString
()
hazelcast/src/main/java/com/hazelcast/map/impl/eviction/Evictor.java:49
↓ 1,715 callers
Method
assertTrueEventually
(String message, AssertTask task, long timeoutSeconds)
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:1197
↓ 1,599 callers
Method
put
{@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 callers
Method
newHazelcastInstance
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 callers
Method
getMap
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 callers
Method
randomString
()
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:524
↓ 1,368 callers
Method
build
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 callers
Method
hashCode
(GenericRecord record, String fieldName)
hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/FieldKindBasedOperations.java:46
↓ 1,313 callers
Method
getMap
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 callers
Method
values
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 callers
Method
checkNotNull
(T argument, String errorMessage)
hazelcast/src/main/java/com/hazelcast/internal/util/Preconditions.java:54
↓ 1,245 callers
Method
stream
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 callers
Method
getValue
Returns the value of the entry. @return the value of the entry
hazelcast/src/main/java/com/hazelcast/core/EntryView.java:43
↓ 1,190 callers
Method
isEmpty
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 callers
Method
timestampTz
(long epochMillis)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlTestSupport.java:766
↓ 1,130 callers
Method
newHazelcastInstance
Equivalent to {@link #newHazelcastInstance(Config) newHazelcastInstance(null)}.
hazelcast/src/test/java/com/hazelcast/test/TestHazelcastInstanceFactory.java:153
↓ 1,095 callers
Method
next
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 callers
Method
format
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 callers
Method
setProperty
()
hazelcast/src/test/java/com/hazelcast/config/MapStoreConfigTest.java:161
↓ 1,023 callers
Method
add
(Frame frame)
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/ClientMessage.java:176
↓ 1,016 callers
Method
createForEncode
()
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/ClientMessage.java:160
↓ 970 callers
Method
get
()
hazelcast-sql/src/main/java/com/hazelcast/sql/impl/extract/QueryExtractor.java:20
↓ 958 callers
Method
frameIterator
()
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/ClientMessage.java:189
↓ 951 callers
Method
isInstanceOf
(Object arg, Class<?> clazz)
hazelcast/src/test/java/com/hazelcast/test/starter/ReflectionUtils.java:122
↓ 950 callers
Method
createHazelcastInstanceFactory
(int nodeCount)
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:270
↓ 924 callers
Method
instance
()
hazelcast-sql/src/test/java/com/hazelcast/dataconnection/impl/DataConnectionConsistencyCheckerTest.java:174
↓ 897 callers
Method
getJet
Returns a Jet service to execute distributed batch and streaming jobs. @see JetService
hazelcast/src/main/java/com/hazelcast/core/HazelcastInstance.java:483
↓ 892 callers
Method
size
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 callers
Method
collect
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 callers
Method
getConfig
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 callers
Method
toData
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 callers
Method
contains
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 callers
Method
putAndCheckValue
( Object value, String sql, SqlColumnType expectedType, Object
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/ExpressionTestSupport.java:118
↓ 847 callers
Method
matches
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 callers
Method
countDown
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 callers
Method
sql
(Object operand1, Object operand2)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/math/ModFunctionIntegrationTest.java:35
↓ 833 callers
Method
handle
(E event)
hazelcast/src/main/java/com/hazelcast/client/impl/spi/EventHandler.java:28
↓ 829 callers
Method
join
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 callers
Method
info
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 callers
Method
when
(BiConsumerEx<Job, JobStatusLogger> test)
hazelcast/src/test/java/com/hazelcast/jet/JobStatusListenerTest.java:383
↓ 801 callers
Method
row
(Object... values)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlTestSupport.java:787
↓ 788 callers
Method
sql
(String source, SqlColumnType targetType)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/misc/CastFunctionIntegrationTest.java:1219
↓ 786 callers
Method
hasNext
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 callers
Method
get
(K key)
hazelcast/src/test/java/com/hazelcast/journal/EventJournalDataStructureAdapter.java:49
↓ 767 callers
Method
remove
(K key)
hazelcast/src/test/java/com/hazelcast/journal/EventJournalDataStructureAdapter.java:45
↓ 758 callers
Method
createHazelcastInstance
()
hazelcast/src/test/java/com/hazelcast/jet/core/JetTestSupport.java:189
↓ 756 callers
Method
set
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 callers
Method
setEnabled
()
hazelcast/src/test/java/com/hazelcast/config/MapStoreConfigTest.java:129
↓ 756 callers
Method
writeTo
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 callers
Method
putAndCheckFailure
( Object value, String sql, int expectedErrorCode, String expe
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/ExpressionTestSupport.java:197
↓ 736 callers
Method
valueOf
(Integer key)
hazelcast/src/test/java/com/hazelcast/client/cache/ClientCacheReadWriteThroughTest.java:160
↓ 715 callers
Method
map
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 callers
Method
newJob
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 callers
Method
warning
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 callers
Method
add
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 callers
Method
next
()
hazelcast/src/test/java/com/hazelcast/client/impl/protocol/codec/builtin/SqlPageCodecTest.java:259
↓ 641 callers
Method
addAll
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 callers
Method
parameterError
(int position, SqlColumnType expectedType, SqlColumnType actualType)
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/impl/expression/ExpressionTestSupport.java:250
↓ 632 callers
Method
isEqualTo
()
hazelcast/src/test/java/com/hazelcast/version/VersionTest.java:50
↓ 618 callers
Method
writeInt
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 callers
Method
writeObject
@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 callers
Method
writeString
@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 callers
Method
readString
@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 callers
Method
isEqualTo
@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 callers
Method
iterator
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 callers
Method
readObject
@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 callers
Method
println
(Object obj)
hazelcast/src/main/java/com/hazelcast/console/ConsoleApp.java:1511
↓ 591 callers
Method
put
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 callers
Method
getService
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 callers
Method
randomMapName
()
hazelcast/src/test/java/com/hazelcast/test/HazelcastTestSupport.java:528
↓ 575 callers
Method
readFrom
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 callers
Method
incrementAndGet
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 callers
Method
assertSame
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 callers
Method
fail
()
hazelcast/src/test/java/com/hazelcast/test/ClusterFailureTestSupport.java:145
↓ 564 callers
Method
assertRowsAnyOrder
Assert the contents of a given table via Hazelcast SQL engine
hazelcast-sql/src/test/java/com/hazelcast/jet/sql/SqlTestSupport.java:189
↓ 562 callers
Method
readInt
@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 callers
Method
start
See {@link #newJob(Pipeline, JobConfig)} for details. @see #startIfAbsent()
hazelcast/src/main/java/com/hazelcast/jet/JetService.java:353
↓ 544 callers
Method
keySet
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 callers
Method
getNodeEngine
()
hazelcast/src/main/java/com/hazelcast/cache/impl/ICacheService.java:107
↓ 542 callers
Method
getNetworkConfig
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 callers
Method
fine
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 callers
Method
getMapConfig
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 callers
Method
setProperty
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 callers
Method
equal
(Comparable value)
hazelcast/src/main/java/com/hazelcast/query/PredicateBuilder.java:49
next →
1–100 of 147,315, ranked by callers