Skip to content

Commit b8a4d00

Browse files
committed
Formatting
1 parent 3a54d91 commit b8a4d00

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dependencies {
3131

3232
### Usage
3333

34-
####Get Instance
34+
__Get Instance__
3535
Get an instance of ObjectCache. Pass in a `cacheDir` (`File`) a `folderName` (`String`) along with the `appVersion`.
3636

3737
```
@@ -42,18 +42,18 @@ or
4242
ObjectCache.defaultCache(cacheDir, appVersion);
4343
```
4444

45-
####Write
45+
__Write__
4646
```
4747
ObjectCache.cacheInstance(cacheDir, folder, appVersion).write(key, object, expiry);
4848
```
4949

50-
####Fetch
50+
__Fetch__
5151
Will return null, if the object has expired
5252
```
5353
ObjectCache.cacheInstance(cacheDir, folder, appVersion).fetch(key, Class.class);
5454
```
5555

56-
####Fetch Even if Expired
56+
__Fetch Even if Expired__
5757
```
5858
ObjectCache.cacheInstance(cacheDir, folder, appVersion).fetchEvenIfExpired(key, Class.class);
5959
```

0 commit comments

Comments
 (0)