AdminTask 오브젝트에 대한 WSSCacheManagement 명령 그룹
AdminTask 오브젝트를 위한 WSSCacheManagement 그룹에 대한 명령의 참조로서 이 주제를 사용하십시오. 관리 스크립트를 가진 명령을 사용하여 분배된 캐시 구성 데이터를 조회, 업데이트 및 제거하십시오.
deleteWSSDistributedCacheConfigCustomProperties 명령
deleteWSSDistributedCacheConfigCustomProperties 명령은 WS-Security 분배 캐시 사용자 정의 특성을 제거합니다.
대상 오브젝트
없음필수 매개변수
- -propertyNames
- 분배 캐시 구성에서 삭제하려는 사용자 정의 특성의 이름을 지정합니다. (String[])
선택적 매개변수
없음.리턴값
이 명령은 명령의 성공 또는 실패를 표시하는 메시지를 리턴합니다.
일괄처리 모드 사용법 예제
- Jython 문자열 사용:
AdminTask.deleteWSSDistributedCacheConfigCustomProperties('[-propertyNames [prop1,prop2,prop3]]')
- Jython 목록 사용:
AdminTask.deleteWSSDistributedCacheConfigCustomProperties([',-'propertyNames', '[prop1,prop2,prop3]'])
대화식 모드 예제 사용법
- Jython 사용:
AdminTask.deleteWSSDistributedCacheConfigCustomProperties('-interactive')
queryWSSDistributedCacheConfig 명령
queryWSSDistributedCacheConfig 명령은 WS-Security 분배 캐시 구성 비사용자 정의 특성을 나열합니다.
대상 오브젝트
없음.필수 매개변수
없음.선택적 매개변수
없음.리턴값
특성 | 설명 |
---|---|
tokenRecovery | 토큰 복구의 사용 여부를 지정합니다. tokenRecovery 특성이 true로 설정된 경우 데이터 소스 특성은 분산 캐시에 지정된 공유 데이터 소스를 지정합니다. |
distributedCache | 분산 캐싱이 사용으로 설정되거나 사용 안함으로 설정될지 여부를 지정합니다. |
Datasource | 토큰 복구를 사용하는 경우 분산 캐시에 지정된 공유 데이터 소스의 이름을 지정합니다. |
renewIntervalBeforeTimeoutMinutes | 토큰 갱신을 시도하기 전에 클라이언트가 기다리는 시간(분)을 지정합니다. |
synchronousClusterUpdate | 시스템이 클러스터 멤버에서 분산 캐시의 동기 업데이트를 수행하는지 여부를 지정합니다. 기본적으로 동기 클러스터 업데이트가 사용 가능합니다. |
minutesInCacheAfterTimeout | 토큰 제한시간을 초과한 후 캐시에 토큰이 남아 있는 시간을 지정합니다. |
일괄처리 모드 사용법 예제
- Jython 사용:
print AdminTask.queryWSSDistributedCacheConfig()
대화식 모드 예제 사용법
- Jython 사용:
AdminTask.queryWSSDistributedCacheConfig('-interactive')
queryWSSDistributedCacheCustomConfig 명령
queryWSSDistributedCacheCustomConfig 명령은 WS-Security 분배 캐시 구성 사용자 정의 특성을 나열합니다.
대상 오브젝트
없음.필수 매개변수
없음.선택적 매개변수
없음.리턴값
이 명령은 각 사용자 정의 특성에 해당하는 이름 및 값 쌍을 포함하는 특성 오브젝트를 리턴합니다.
일괄처리 모드 사용법 예제
- Jython 사용:
AdminTask.queryWSSDistributedCacheCustomConfig()
대화식 모드 예제 사용법
- Jython 사용:
AdminTask.queryWSSDistributedCacheCustomConfig('-interactive')
updateWSSDistributedCacheConfig 명령
updateWSSDistributedCacheConfig 명령은 WS-Security 분배 캐시 구성 비사용자 정의 특성을 업데이트합니다.
대상 오브젝트
없음.필수 매개변수
없음.선택적 매개변수
- -renewIntervalBeforeTimeoutMinutes
- 토큰이 만료되기 전에 갱신 요청이 허용되는 시간의 양(분)을 지정합니다.(정수).
- -minutesInCacheAfterTimeout
- 토큰이 만료된 후 캐시에 토큰이 남아 있는 시간의 양(분)을 지정합니다. 토큰이 이 시간의 양에 대해 갱신할 수 있습니다. (정수).
- -distributedCache
- 분배 캐시의 사용 여부를 지정합니다. (부울).
- -synchronousClusterUpdate
- 시스템이 클러스터 멤버에서 분산 캐시의 동기 업데이트를 수행하는지 여부를 지정합니다. 기본적으로, 동기 클러스터 업데이트가 사용됩니다. 동기 클러스터 업데이트를 사용하지 않으려면 false로 지정하십시오. (부울).
- -tokenRecovery
- 토큰 복구의 사용 여부를 지정합니다. tokenRecovery 특성을 true로 설정하면 -Datasource 매개변수를 가진 분배 캐시에 지정하기 위한 공유 데이터 소스를 지정하십시오. (부울).
- -Datasource
- 토큰 복구가 사용되면 분배 캐시에 지정되는 공유 데이터 소스의 이름을 지정합니다.(문자열).
리턴값
이 명령은 성공 또는 실패 메시지를 리턴합니다.
일괄처리 모드 사용법 예제
- Jython 문자열 사용:
AdminTask.updateWSSDistributedCacheConfig('[-customProperties "[ [property2 value2] [property1 value1] ]"]')
- Jython 목록 사용:
AdminTask.updateWSSDistributedCacheConfig(['-customProperties', '[ [property2 value2] [property1 value1] ]'])
대화식 모드 예제 사용법
- Jython 사용:
AdminTask.updateWSSDistributedCacheConfig('-interactive')
updateWSSDistributedCacheCustomConfig 명령
updateWSSDistributedCacheCustomConfig 명령은 WS-Security 분배 캐시 구성 사용자 정의 특성을 업데이트합니다.
대상 오브젝트
없음.필수 매개변수
- -customProperties
- WS-Security 분배 캐시 구성에서 추가하거나 업데이트하기 위해 각 사용자 정의 특성의 이름 및 값을 지정합니다. (java.util.Properties)
선택적 매개변수
없음.리턴값
이 명령은 성공 또는 실패 메시지를 리턴합니다.
일괄처리 모드 사용법 예제
- Jython 문자열 사용:
AdminTask.updateWSSDistributedCacheCustomConfig('[-customProperties [[property1 value1] [property2 value2]]]')
- Jython 목록 사용:
AdminTask.updateWSSDistributedCacheCustomConfig(['-customProperties', '[[property1 value1] [property2 value2]]'])
대화식 모드 예제 사용법
- Jython 사용:
AdminTask.updateWSSDistributedCacheCustomConfig('-interactive')