@Override public final boolean hasChildren () { return m_aChildren != null && m_aChildren.isNotEmpty (); }
/** * @return <code>true</code> if any async listener is present, * <code>false</code> otherwise. */ public boolean hasAsyncListeners () { return m_aAsyncListeners.isNotEmpty (); }
/** * @return <code>true</code> if at least 1 arg is present, <code>false</code> * otherwise. */ public boolean hasArgs () { return m_aArgs.isNotEmpty (); }
/** * @return <code>true</code> if at least one <code>@namespace</code> rule is * present, <code>false</code> otherwise. */ public boolean hasNamespaceRules () { return m_aNamespaceRules.isNotEmpty (); }
@Override public final boolean hasChildren () { return m_aChildren != null && m_aChildren.isNotEmpty (); }
/** * @return <code>true</code> if at least one MIC algorithm is present, * <code>false</code> if none is present. */ public boolean hasMICAlg () { return m_aMICAlgs.isNotEmpty (); }
public boolean hasForeignElements () { return m_aForeignElements != null && m_aForeignElements.isNotEmpty (); }
public boolean hasForeignElements () { return m_aForeignElements != null && m_aForeignElements.isNotEmpty (); }
public boolean hasAnyLet () { return m_aLets.isNotEmpty (); }
public boolean hasPatterns () { return m_aPatterns.isNotEmpty (); }
public boolean hasAnyText () { return m_aContent.isNotEmpty (); }
public boolean hasForeignElements () { return m_aForeignElements != null && m_aForeignElements.isNotEmpty (); }
/** * @return <code>true</code> if at least a single media expression is present. */ public boolean hasMediaExpressions () { return m_aMediaExpressions.isNotEmpty (); }
/** * @return <code>true</code> if at least one <code>@import</code> rule is * present, <code>false</code> otherwise. */ public boolean hasImportRules () { return m_aImportRules.isNotEmpty (); }
/** * @return <code>true</code> if at least one media query is present, * <code>false</code> if no media query is present. */ public boolean hasMediaQueries () { return m_aMediaQueries.isNotEmpty (); }
/** * @return <code>true</code> if at least one transport listener is present, * <code>false</code> otherwise. * @since 1.1.0 */ public static boolean hasEmailDataTransportListeners () { return s_aRWLock.readLocked ( () -> s_aEmailDataTransportListeners.isNotEmpty ()); }
default boolean hasDecryptedAttachments () { final ICommonsList <WSS4JAttachment> aAttachments = getDecryptedAttachments (); return aAttachments != null && aAttachments.isNotEmpty (); }
/** * @return <code>true</code> if at least one connection listener is present, * <code>false</code> otherwise. * @since 1.1.0 */ public static boolean hasConnectionListeners () { return s_aRWLock.readLocked ( () -> s_aConnectionListeners.isNotEmpty ()); }
default boolean hasOriginalAttachments () { final ICommonsList <WSS4JAttachment> aAttachments = getOriginalAttachments (); return aAttachments != null && aAttachments.isNotEmpty (); }
@Override protected void onExecute (@Nonnull final JobDataMap aJobDataMap, @Nonnull final IJobExecutionContext aContext) throws JobExecutionException { final long nMins = aJobDataMap.getAsLong (KEY_MINUTES); final LocalDateTime aOldDT = PDTFactory.getCurrentLocalDateTime ().minusMinutes (nMins); final ICommonsList <String> aEvicted = MetaAS4Manager.getIncomingDuplicateMgr ().evictAllItemsBefore (aOldDT); if (aEvicted.isNotEmpty ()) LOGGER.info ("Evicted " + aEvicted.size () + " incoming duplicate message IDs"); }