- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 628 for Store (0.02 sec)
-
internal/event/target/webhook.go
} return target.isActive() } // Store returns any underlying store if set. func (target *WebhookTarget) Store() event.TargetStore { return target.store } func (target *WebhookTarget) isActive() (bool, error) { conn, err := net.DialTimeout("tcp", target.addr, 5*time.Second) if err != nil { if xnet.IsNetworkOrHostDown(err, false) { return false, store.ErrNotConnected } return false, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
internal/store/batch.go
type BatchConfig[I any] struct { Limit uint32 Store Store[I] CommitTimeout time.Duration Log logger } // Add adds the item to the batch func (b *Batch[I]) Add(item I) error { b.Lock() defer b.Unlock() if b.isFull() { if b.store == nil { return ErrBatchFull } // commit batch to store if err := b.commit(); err != nil { return err } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/StartStopExtension.kt
val server = field.get(null) as? MockWebServer ?: continue // Put the instance in the store, so JUnit closes it for us in afterAll. store.put(field, server) server.start() } } override fun beforeEach(context: ExtensionContext) { val testInstance = context.testInstance.get() val store = context.getStore(Namespace.create(StartStop::class.java)) val instanceFields =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 2.3K bytes - Viewed (0) -
internal/logger/target/http/http.go
go h.startQueueProcessor(ctx, true) queueStore := store.NewQueueStore[any]( filepath.Join(h.config.QueueDir, h.Name()), uint64(h.config.QueueSize), httpLoggerExtension, ) if err := queueStore.Open(); err != nil { return fmt.Errorf("unable to initialize the queue store of %s webhook: %w", h.Name(), err) } h.store = queueStore store.StreamItems(h.store, h, ctx.Done(), h.config.LogOnceIf) return nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
internal/event/target/postgresql.go
} // Name - returns the Name of the target. func (target *PostgreSQLTarget) Name() string { return target.ID().String() } // Store returns any underlying store if set. func (target *PostgreSQLTarget) Store() event.TargetStore { return target.store } // IsActive - Return true if target is up and active func (target *PostgreSQLTarget) IsActive() (bool, error) { if err := target.init(); err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
* @param comments * Comments. */ public static void store(final Properties props, final OutputStream out, final String comments) { assertArgumentNotNull("props", props); assertArgumentNotNull("out", out); try { props.store(out, comments); } catch (final IOException e) { throw new IORuntimeException(e); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K bytes - Viewed (0) -
internal/stmt_store/stmt_store.go
if stmt.Stmt != nil { return stmt.Stmt.Close() } return nil } // Store defines an interface for managing the caching operations of SQL statements (Stmt). // This interface provides methods for creating new statements, retrieving all cache keys, // getting cached statements, setting cached statements, and deleting cached statements. type Store interface { // New creates a new Stmt object and caches it. // Parameters:Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Apr 27 06:05:16 UTC 2025 - 6K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/ReproduciblePropertiesWriter.kt
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
} } /** * Inner thread class for executing data store crawling operations. * Each thread handles crawling for a single data configuration, * processing documents and updating the search index. * * <p>The thread manages:</p> * <ul> * <li>Data store initialization and document processing</li> * <li>Index update operations through callbacks</li>Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
src/archive/zip/register.go
) func init() { compressors.Store(Store, Compressor(func(w io.Writer) (io.WriteCloser, error) { return &nopCloser{w}, nil })) compressors.Store(Deflate, Compressor(func(w io.Writer) (io.WriteCloser, error) { return newFlateWriter(w), nil })) decompressors.Store(Store, Decompressor(io.NopCloser)) decompressors.Store(Deflate, Decompressor(newFlateReader)) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0)