Package | Description |
---|---|
net.sf.ehcache.store.disk |
This package contains the disk store.
|
Modifier and Type | Method and Description |
---|---|
protected DiskStorageFactory.DiskMarker |
DiskStorageFactory.write(Element element)
Write the given element to disk, and return the associated marker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DiskStore.fault(Object key,
net.sf.ehcache.store.disk.DiskStorageFactory.Placeholder expect,
DiskStorageFactory.DiskMarker fault)
Atomically switch (CAS) the
expect representation of this element for the
fault representation. |
protected void |
DiskStorageFactory.free(DiskStorageFactory.DiskMarker marker)
Free the given marker to be used by a subsequent write.
|
protected void |
DiskStorageFactory.markUsed(DiskStorageFactory.DiskMarker marker)
Mark this on-disk marker as used (hooks into the file space allocation structure).
|
boolean |
DiskStore.putRawIfAbsent(Object key,
DiskStorageFactory.DiskMarker encoded)
Put the given encoded element directly into the store
|
protected Element |
DiskStorageFactory.read(DiskStorageFactory.DiskMarker marker)
Read the data at the given marker, and return the associated deserialized Element.
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.