public interface ApplicationCache
Modifier and Type | Interface and Description |
---|---|
static interface |
ApplicationCache.Loader
Cannot use
Function here, since we need to propagate checked exceptions. |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.model.application.Application |
getApplication(String name)
Deprecated.
since 7.5 Use
getApplication(String, Loader) |
com.atlassian.crowd.model.application.Application |
getApplication(String name,
ApplicationCache.Loader loader)
Returns the cached application with the given name, or null if the application isn't cached.
|
void |
putApplication(com.atlassian.crowd.model.application.Application application)
Deprecated.
since 7.5 use
removeApplication(Application) and getApplication(String, Loader) |
void |
removeAll()
Removes all entries from the cache.
|
default void |
removeApplication(com.atlassian.crowd.model.application.Application application)
Removes the application with the given name from the cache.
|
void |
removeApplication(String name)
Removes the application with the given name from the cache.
|
@Deprecated com.atlassian.crowd.model.application.Application getApplication(String name)
getApplication(String, Loader)
com.atlassian.crowd.model.application.Application getApplication(String name, ApplicationCache.Loader loader) throws com.atlassian.crowd.exception.ApplicationNotFoundException
com.atlassian.crowd.exception.ApplicationNotFoundException
@Deprecated void putApplication(com.atlassian.crowd.model.application.Application application)
removeApplication(Application)
and getApplication(String, Loader)
Application.getName()
.void removeApplication(String name)
default void removeApplication(com.atlassian.crowd.model.application.Application application)
void removeAll()
Copyright © 2003–2021 Atlassian. All rights reserved.