Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for statObject (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                // check file size
                responseData.setContentLength(statObject.size());
                checkMaxContentLength(responseData);
    
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(getCharset());
                responseData.setLastModified(statObject.lastModified() == null ? null : Date.from(statObject.lastModified().toInstant()));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                if (statObject == null) {
                    final StatObjectArgs args = StatObjectArgs.builder().bucket(bucketName).object(objectName).build();
                    statObject = minioClient.statObject(args);
                }
                return statObject;
            }
    
            @Override
            public long getContentLengthLong() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. cmd/ftp-server-driver.go

    		if !ok {
    			return nil, os.ErrNotExist
    		}
    		return &minioFileInfo{
    			p:     pathClean(bucket),
    			info:  minio.ObjectInfo{Key: bucket},
    			isDir: true,
    		}, nil
    	}
    
    	objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    	if err != nil {
    		if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    			// dummy return to satisfy LIST (stat -> list) behavior.
    			return &minioFileInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    				// all user metadata or just storageClass. If its only storageClass
    				// List() already returns relevant information for filter to be applied.
    				if isMetadata && !isStorageClassOnly {
    					oi2, err := c.StatObject(ctx, r.Source.Bucket, obj.Key, miniogo.StatObjectOptions{})
    					if err == nil {
    						oi = toObjectInfo(r.Source.Bucket, obj.Key, oi2)
    					} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    				return nil, os.ErrNotExist
    			}
    			return listerAt{&minioFileInfo{
    				p:     pathClean(bucket),
    				info:  minio.ObjectInfo{Key: bucket},
    				isDir: true,
    			}}, nil
    		}
    
    		objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    		if err != nil {
    			if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    				// dummy return to satisfy LIST (stat -> list) behavior.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		}
    		return
    	}
    	// early return if already replicated delete marker for existing object replication/ healing delete markers
    	if dobj.DeleteMarkerVersionID != "" {
    		toi, err := tgt.StatObject(ctx, tgt.Bucket, dobj.ObjectName, minio.StatObjectOptions{
    			VersionID: versionID,
    			Internal: minio.AdvancedGetOptions{
    				ReplicationProxyRequest:           "false",
    				IsReplicationReadyForDeleteMarker: true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/erasure-object_test.go

    					Recursive: true,
    					Immediate: false,
    				})
    			}
    		}
    	}
    
    	_, err = xl.GetObjectInfo(ctx, bucket, object, opts)
    	if err != nil {
    		t.Errorf("Expected StatObject to succeed if data dir are not found, but failed with %v", err)
    	}
    
    	// Test use case 2: Make 9 disks offline, which leaves less than quorum number of disks
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	}
    }
    
    func (c *check) mustHeadObject(ctx context.Context, client *minio.Client, bucket, object string, tagCount int) {
    	c.Helper()
    
    	oinfo, err := client.StatObject(ctx, bucket, object, minio.StatObjectOptions{})
    	if err != nil {
    		c.Fatalf("user was unable to download the object: %v", err)
    	}
    
    	if oinfo.UserTagCount != tagCount {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

        protected LoadingCache<String, StatsObject> statsCache;
    
        @PostConstruct
        public void init() {
            statsLogger = LogManager.getLogger(loggerName);
            statsCache = CacheBuilder.newBuilder().maximumSize(maxCacheSize).expireAfterWrite(cacheExpireAfterWrite, TimeUnit.MILLISECONDS)
                    .build(new CacheLoader<String, StatsObject>() {
                        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                }
                if (empty) {
                    client.admin().indices().preparePutMapping(actualIndex)
                            .setSource(XContentFactory.jsonBuilder().startObject().startObject("properties").startObject(FieldNames.ARRAY_KEY)
                                    .field("type", "keyword").endObject().endObject().endObject())
                            .execute().actionGet(settings.getIndicesTimeout());
                }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top