congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
RedissonClient.isShuttingDown
Code IndexAdd Tabnine to your IDE (free)

How to use
isShuttingDown
method
in
org.redisson.api.RedissonClient

Best Java code snippets using org.redisson.api.RedissonClient.isShuttingDown (Showing top 7 results out of 315)

origin: redisson/redisson

  || redisson.isShuttingDown()) {
return;
origin: redisson/redisson

  || redisson.isShuttingDown()) {
return;
origin: com.nepxion/aquarius-common-redis

@Override
public boolean isStarted() {
  if (redisson == null) {
    throw new RedissonException("Redisson isn't initialized");
  }
  return !redisson.isShutdown() && !redisson.isShuttingDown();
}
origin: Nepxion/Aquarius

@Override
public boolean isStarted() {
  if (redisson == null) {
    throw new RedissonException("Redisson isn't initialized");
  }
  return !redisson.isShutdown() && !redisson.isShuttingDown();
}
origin: org.hswebframework.web/hsweb-message-redis

  @Override
  public void send() {
    if (redissonClient.isShutdown() || redissonClient.isShuttingDown()) {
      return;
    }
    if (to instanceof QueueMessageSubject) {
      queueConsumer.accept(((QueueMessageSubject) to).getQueueName());
    }
    if (to instanceof MultipleQueueMessageSubject) {
      ((MultipleQueueMessageSubject) to).getQueueName().forEach(queueConsumer);
    }
    if (to instanceof TopicMessageSubject) {
      RTopic<Message> topic = redissonClient.getTopic("topic_" + ((TopicMessageSubject) to).getTopic(), codec);
      topic.publish(message);
    }
  }
}
origin: org.hswebframework.web/hsweb-message-redis

while (running) {
  try {
    if (redisson.isShutdown() || redisson.isShuttingDown()) {
      return;
origin: org.redisson/redisson

  || redisson.isShuttingDown()) {
return;
org.redisson.apiRedissonClientisShuttingDown

Javadoc

Returns true if this Redisson instance was started to be shutdown or was shutdown #isShutdown() already.

Popular methods of RedissonClient

  • shutdown
    Shuts down Redisson instance but NOT Redis server Shutdown ensures that no tasks are submitted for '
  • getMap
    Returns map instance by name using provided codec for both map keys and values.
  • getLock
    Returns lock instance by name. Implements a non-fair locking so doesn't guarantees an acquire order
  • getTopic
    Returns topic instance by name using provided codec for messages.
  • getBucket
    Returns object holder instance by name using provided codec for object.
  • getConfig
    Allows to get configuration provided during Redisson instance creation. Further changes on this obje
  • getMapCache
    Returns map-based cache instance by name using provided codec for both cache keys and values. Suppor
  • getAtomicLong
    Returns atomicLong instance by name.
  • getKeys
    Returns interface with methods for Redis keys. Each of Redis/Redisson object associated with own key
  • getScript
    Returns script operations object using provided codec.
  • getSemaphore
    Returns semaphore instance by name
  • getSet
    Returns set instance by name using provided codec for set objects.
  • getSemaphore,
  • getSet,
  • getBlockingQueue,
  • getList,
  • getScoredSortedSet,
  • getExecutorService,
  • getFairLock,
  • getQueue,
  • getReadWriteLock,
  • getListMultimap

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now