- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for setObject (0.28 sec)
-
src/main/java/org/codelibs/fess/util/WebApiUtil.java
private WebApiUtil() { } public static void setObject(final String name, final Object value) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value)); } @SuppressWarnings("unchecked") public static <T> T getObject(final String name) { return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.9K bytes - Viewed (0) -
cmd/global-heal.go
// If we resume to the same bucket, forward to last known item. if b := tracker.getBucket(); b != "" { if b == bucket { forwardTo = tracker.getObject() } else { // Reset to where last bucket ended if resuming. tracker.resume() } } tracker.setObject("") tracker.setBucket(bucket) // Heal current bucket again in case if it is failed // in the beginning of erasure set healing
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 06:32:14 GMT 2024 - 15K bytes - Viewed (1) -
cmd/background-newdisks-heal-ops.go
func (h *healingTracker) setBucket(bucket string) { h.mu.Lock() defer h.mu.Unlock() h.Bucket = bucket } func (h healingTracker) getObject() string { h.mu.RLock() defer h.mu.RUnlock() return h.Object } func (h *healingTracker) setObject(object string) { h.mu.Lock() defer h.mu.Unlock() h.Object = object }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.7K bytes - Viewed (0) -
docs/extensions/fan-out/README.md
## How to enable Fan-Out Uploads ?
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 25 05:51:07 GMT 2023 - 1.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java
private final Integer buildNumber; RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber"); if (bn instanceof Integer) { this.buildNumber = (Integer) bn; } else if (bn instanceof String) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
cmd/erasure-object_test.go
if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) } } if gr != nil { _, err = io.Copy(io.Discard, gr) if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jan 30 20:43:25 GMT 2024 - 36.8K bytes - Viewed (0) -
cmd/object-api-interface.go
} // GetObject - TODO(aead): This function just acts as an adapter for GetObject tests and benchmarks // since the GetObject method of the ObjectLayer interface has been removed. Once, the // tests are adjusted to use GetObjectNInfo this function can be removed.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 17K bytes - Viewed (0) -
docs/multi-user/README.md
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 21 06:38:06 GMT 2023 - 8K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} } for key, value := range objects { var byteBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } if !bytes.Equal(byteBuffer.Bytes(), value) { t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 32.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java
private final Date timestamp; LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); snapshots = new LinkedHashMap<>(); } @Override public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.7K bytes - Viewed (0)