File tree Expand file tree Collapse file tree
core/src/main/java/org/openstack4j/model/image/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ package org .openstack4j .model .image .v2 ;
2+
3+ import org .openstack4j .model .ModelEntity ;
4+ import java .util .Date ;
5+
6+ /**
7+ * @author zdagjyo on 13/11/2018.
8+ * @see https://docs.openstack.org/developer/glance/cache.html
9+ */
10+ public interface CachedImage extends ModelEntity {
11+
12+ /**
13+ *
14+ * @return the image id of the cached image
15+ */
16+ String getImageId ();
17+
18+ /**
19+ *
20+ * @return date when this image was last accessed in the cache
21+ */
22+ Date getLastAccessed ();
23+
24+ /**
25+ *
26+ * @return date when the image was last modified in the cache
27+ */
28+ Date getLastModified ();
29+
30+ /**
31+ *
32+ * @return nr of cache hits
33+ */
34+ Integer getHits ();
35+
36+ /**
37+ *
38+ * @return the image size
39+ */
40+ Long getSize ();
41+ }
You can’t perform that action at this time.
0 commit comments