- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for eventType (0.08 seconds)
-
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
Lists.newArrayListWithCapacity(eventTypes.size()); for (Class<?> eventType : eventTypes) { CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType); if (eventSubscribers != null) { // eager no-copy snapshot subscriberIterators.add(eventSubscribers.iterator()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/jcifs/audit/SecurityAuditLogger.java
* @param remoteAddress remote address */ public void logAuthentication(boolean success, String username, String authMethod, String remoteAddress) { EventType type = success ? EventType.AUTHENTICATION_SUCCESS : EventType.AUTHENTICATION_FAILURE; Severity severity = success ? Severity.INFO : Severity.WARNING; // Pre-mask sensitive data to avoid repeated processingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 26.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
private String id; private Long versionNo; private String eventType; private Map<String, Object> sourceMap; public TestSearchLogEvent(String id, Long versionNo, String eventType) { this.id = id; this.versionNo = versionNo; this.eventType = eventType; this.sourceMap = new HashMap<>(); } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
Map<EventType, Long> stats = logger.getStatistics(); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event"); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event"); assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java
this.requestType = requestType; } /** * @return Returns the eventType. */ public int getEventType() { return eventType; } /** * @param eventType The eventType to set. */ public void setEventType(final int eventType) { switch (eventType) { case TRANSFER_INITIATED: break; case TRANSFER_STARTED:Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
@Test void testDifferentEventTypes() { for (WitnessEventType eventType : WitnessEventType.values()) { WitnessNotification testNotification = new WitnessNotification(eventType, "Resource" + eventType.getValue()); assertEquals(eventType, testNotification.getEventType()); assertEquals("Resource" + eventType.getValue(), testNotification.getResourceName()); } } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessNotification.java
* * @return the event type */ public WitnessEventType getEventType() { return eventType; } /** * Sets the event type. * * @param eventType the event type */ public void setEventType(WitnessEventType eventType) { this.eventType = eventType; } /** * Gets the resource name. * * @return the resource nameCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java
int eventType = parser.next(); if (eventType == XmlPullParser.TEXT) { eventType = parser.next(); } if (eventType != XmlPullParser.START_TAG && eventType != XmlPullParser.END_TAG) { throw new XmlPullParserException( "expected START_TAG or END_TAG not " + XmlPullParser.TYPES[eventType], parser, null); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
* * @param eventType the event type * @param resourceName the resource name */ public void sendNotification(WitnessEventType eventType, String resourceName) { // In a real implementation, this would send notifications to registered clients // For the mock, we just log it log.info("Mock sending notification: {} for resource: {}", eventType, resourceName);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
WitnessNotification notification = new WitnessNotification(); // Set event type based on message type WitnessEventType eventType = convertMessageTypeToEventType(message.getType()); notification.setEventType(eventType); notification.setTimestamp(message.getTimestamp()); // Set resource name based on message content
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.8K bytes - Click Count (0)