- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 51 for IsActive (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/event/target/elasticsearch.go
func (target *ElasticsearchTarget) Store() event.TargetStore { return target.store } // IsActive - Return true if target is up and active func (target *ElasticsearchTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() } func (target *ElasticsearchTarget) isActive() (bool, error) { ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15K bytes - Click Count (0) -
internal/event/target/kafka.go
func (target *KafkaTarget) Store() event.TargetStore { return target.store } // IsActive - Return true if target is up and active func (target *KafkaTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() } func (target *KafkaTarget) isActive() (bool, error) { // Refer https://github.com/IBM/sarama/issues/1341
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
void testThrowingActivator() { DefaultProfileSelector selector = new DefaultProfileSelector(); selector.addProfileActivator(new ProfileActivator() { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { throw new RuntimeException("BOOM"); } @Override public boolean presentInConfig(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
internal/event/target/mysql.go
func (target *MySQLTarget) Store() event.TargetStore { return target.store } // IsActive - Return true if target is up and active func (target *MySQLTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() } func (target *MySQLTarget) isActive() (bool, error) { if err := target.db.Ping(); err != nil { if IsConnErr(err) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 11.6K bytes - Click Count (0) -
internal/event/target/nats.go
func (target *NATSTarget) Store() event.TargetStore { return target.store } // IsActive - Return true if target is up and active func (target *NATSTarget) IsActive() (bool, error) { if err := target.init(); err != nil { return false, err } return target.isActive() } func (target *NATSTarget) isActive() (bool, error) { var connErr error if target.args.Streaming.Enable {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java
/** * ProfileActivator */ @Deprecated public interface ProfileActivator { String ROLE = ProfileActivator.class.getName(); boolean canDetermineActivation(Profile profile); boolean isActive(Profile profile) throws ProfileActivationException;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
this.address = address; this.groupName = groupName; this.nodeType = nodeType; this.isBeingDeleted = isBeingDeleted; this.isInConflict = isInConflict; this.isActive = isActive; this.isPermanent = isPermanent; this.macAddress = macAddress; isDataFromNodeStatus = true; } /* Guess next called name to try for session establishment. TheseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
Activation activation = profile.getActivation(); return activation != null && activation.getOs() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationOS os = activation.getOs(); boolean result = ensureAtLeastOneNonNull(os);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
*/ @Named("packaging") @Singleton @Deprecated(since = "4.0.0") public class PackagingProfileActivator implements ProfileActivator { @Override public boolean isActive( org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
return directoryFile; } /** * Checks if directory change monitoring is currently active * @return true if watching is active */ public boolean isActive() { return active; } /** * Set active status * * @param active true to activate */ public void setActive(boolean active) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0)